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.santh...@web.de>

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to