[Lazarus] Cross Compile for arm-linux

Kjow antispammoni at gmail.com
Sat Dec 5 12:40:43 CET 2009


2009/12/5 Florian Klaempfl <florian at freepascal.org>:
> The makefiles of GNU binutils are broken: if you compile for another
> target, distclean is not enough, just delete the whole binutils source
> dir and unpack it again.

Ok, I deleted binutils directory and re-unpacked it, then I did again:

./configure --target=arm-linux
make

It started to make a lot of compilation rows, until these last rows:

o tc-arm.o `test -f 'config/tc-arm.c' || echo './'`config/tc-arm.c
cc1: warnings being treated as errors
config/tc-arm.c: In function ‘make_mapping_symbol’:
config/tc-arm.c:2489: error: suggest braces around empty body in an
‘if’ statement
make[4]: *** [tc-arm.o] Error 1
make[4]: Leaving directory `/home/kjow/arm/binutils/gas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kjow/arm/binutils/gas'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kjow/arm/binutils/gas'
make[1]: *** [all-gas] Error 2
make[1]: Leaving directory `/home/kjow/arm/binutils'
make: *** [all] Error 2

I think that are not very comfortable these errors... what's wrong?

Thank you!




More information about the Lazarus mailing list