Problem compiling GCC 3.3.6 for arm-elf target

Richard Earnshaw rearnsha@arm.com
Wed Aug 2 09:29:00 GMT 2006


On Tue, 2006-08-01 at 19:04, Rowan Potgieter wrote:
> 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}'

> 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?

It means that you haven't (correctly) installed GNU binutils first.
Specifically here, that the compiler couldn't find the ARM assembler and
has tried to use your native assembler -- which unsurprisingly doesn't
understand ARM instructions.

R.


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



More information about the crossgcc mailing list