[fpc-pascal] building arm cross compiler on FreeBSD
Marc Santhoff
M.Santhoff at web.de
Sun Jan 10 00:16:27 CET 2016
On Sa, 2016-01-09 at 23:44 +0100, Jonas Maebe wrote:
> OS_TARGET=embedded
No, doesn'r do. The error message talks about the assemble, maybe it is
the binuitls variant installed?
gmake[3]: Entering directory `/usr/p1/home/marc/program/fpc-cross/src/fpc/rtl/embedded'
/usr/local/bin/gmkdir -p /usr/p1/home/marc/program/fpc-cross/src/fpc/rtl/units/arm-embedded
/usr/p1/home/marc/program/fpc-cross/src/fpc/compiler/ppcrossarm -Cparmv7m @rtl.cfg -Ur -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -FE. -FU/usr/p1/home/marc/program/fpc-cross/src/fpc/rtl/units/arm-embedded -darm -dRELEASE -XParm-elf- -Us -Sg system.pp
Assembler messages:
Error: unknown architecture `armv7-m'
Error: unrecognized option -march=armv7-m
system.pp(285) Error: Error while assembling exitcode 1
system.pp(285) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
If I try directly:
> arm-elf-as -march=armv7-m
Assembler messages:
Error: unknown architecture `armv7-m'
> lpkg|grep arm
arm-elf-binutils-2.17
Which version of binutils is needed or what's going worng otherwise?
Marc
--
Marc Santhoff <M.Santhoff at web.de>
More information about the fpc-pascal
mailing list