Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-02

FreePascal Crosscompiler for ARM (host linux i386)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jose Pascual

Hi Guys,

I'm trying to generate a cross compiler freepascal for ARM, I have downloaded the last snapshot source (cvs) of freepascal, but the making process stop with this error,

-------------------------------------screen
dump------------------------------
# ppcrossarm -Fi../inc -Fi../arm -Fi../unix -Fiarm -FD/usr/local/arm/2.95.3/arm-linux/bin -FE. -darm -Fi../objpas/sysutils ../unix/sysutils.pp
./sysutils.s: Assembler messages:
./sysutils.s:11489: Warning: Shift of 0 ignored.
# ppcrossarm -Fi../inc -Fi../arm -Fi../unix -Fiarm -FD/usr/local/arm/2.95.3/arm-linux/bin -FE. -darm -Sg ../objpas/typinfo.pp (unequaln, resulttype = "Boolean", pos = (443,6), loc = LOC_INVALID, expectloc = LOC_FLAGS, intregs = 1, fpuregs = 0 (loadn, resulttype = "Set Of TTypeKind", pos = (443,7), loc = LOC_INVALID, expectloc = LOC_REF, intregs = 0, fpuregs = 0 nil
symbol = AKINDS
)
(setconstn, resulttype = "Empty Set", pos = (443,15), loc = LOC_INVALID, expectloc = LOC_CONST, intregs = 0, fpuregs = 0 nil
)
)
typinfo.pp(443,6) Fatal: Internal error 200308241
------------------------------------------------------------------------ -----

My host is a linux and i386, the above error is making a cross compiler with target ARM.

patched Makefile.FPC, because there was several error in sections for ARM Run FPCMake to generate Makefile make CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/usr/local/arm/2.95.3/arm-linux/bin cycle

Thank you a lot in advanced

Best regards.