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]

Re: Problem compiling GCC 3.3.6 for arm-elf target


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


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