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] |
I built a cross compiler for arm-elf on a linux host. The build worked without error messages. The only (possibly) fancy configuration was for the final gcc build: [michael]$ ../gcc-3.2.2/configure --with-headers=/home/michael/gp32/cross/install/arm-elf/include --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld --enable-languages=c,c++ Now when I compile some very straightforward C source code (< 20 lines), I get an *Assembler* error message: [michael]$ arm-elf-gcc -O2 -fomit-frame-pointer -finline-functions -mcpu=arm920t -fno-exceptions -fno-common -fno-builtin -ffreestanding -mstructure-size-boundary=32 -mno-thumb-interwork -c -Wall -I$INC gpmain.c Assembler messages: Error: unrecognized option `-marm920t' >> Note, that the -mcpu=arm920t switch for the C compiler is recognized! Can anybody help? Do I have to compile with different options? Or rebuild gcc with different options? Thanks very much in advance. Michael ------ 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] |