This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

invalid option for gcc?


I'm trying to build a kernel for an arm processor.
I first tried using gcc-2.95.4
"gcc version 2.95.4  (Debian prerelease)"
and then
tried gcc-3.0
"gcc version 3.0.3"

The man page for gcc-2.95.4 does not mention the possibility
to cross compile to an arm procesor? is it true? (It seems
2.95.2 can do that?)
The man page for gcc-3.0 does mention the arm options, but in
both case (gcc-3.0.3 and gcc 2.95.4) it fails with the
following error message: (the invalid options)

gcc-3.0 -D__KERNEL__ -I/usr/src/kernel-source-2.4.16/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2  -fno-strict-aliasing
-fno-common  -g -mapcs-32 -march=armv4 -mtune=strongarm1100
-mshort-load-bytes -msoft-float   -c -o init/main.o init/main.c
cc1: Invalid option `apcs-32'
cc1: Invalid option `tune=strongarm1100'
cc1: Invalid option `short-load-bytes'
cc1: bad value (armv4) for -march= switch

Any tips? Must I get another gcc?
Thanks
Aymeric

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]