This is the mail archive of the crossgcc@sourceware.org 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]

Problem compiling GCC 3.3.6 for arm-elf target


When I run the make command after configuring GCC-3.3.6 I get the
following error:

/tmp/ccKlamGM.s: Assembler messages:
/tmp/ccKlamGM.s:17: Error: bad instruction `push {r4,r5,r6,r7,lr}'
/tmp/ccKlamGM.s:35: Error: bad instruction `lsr r0,r3,#16'
/tmp/ccKlamGM.s:39: rd and rm should be different in mul
/tmp/ccKlamGM.s:41: Error: bad instruction `lsr r2,r5,#16'
/tmp/ccKlamGM.s:43: rd and rm should be different in mul
/tmp/ccKlamGM.s:45: rd and rm should be different in mul
/tmp/ccKlamGM.s:46: Error: bad instruction `lsr r3,r7,#16'
/tmp/ccKlamGM.s:49: rd and rm should be different in mul
/tmp/ccKlamGM.s:53: Error: bad instruction `lsl r3,r3,#9'
/tmp/ccKlamGM.s:56: Error: bad instruction `lsr r3,r4,#16'
/tmp/ccKlamGM.s:61: Error: bad instruction `lsl r3,r4,#16'
/tmp/ccKlamGM.s:71: rd and rm should be different in mul
/tmp/ccKlamGM.s:74: rd and rm should be different in mul
/tmp/ccKlamGM.s:88: Error: bad instruction `pop {r4,r5,r6,r7,pc}'
make[2]: *** [libgcc/thumb/_muldi3.o] Error 1
make[2]: Leaving directory
`/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/arm-elf-gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/stareast/Network_Processor_Project/SnapGear_cd/tools/arm-elf/arm-elf-gcc/gcc'
make: *** [all-gcc] Error 2


I really have no idea what this means! I used the following configure command: ../gcc-3.3.6/configure --target=arm-elf --enable-languages=c

can somebody please explain this to me?

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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