This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Unrecognized opcode


Bala Jagannathan wrote:
> 
> Hi all
>   I am trying to build a cross compiler for powerpc from a linux
> machine.I managed to build binutils 2.9.1.I ran into problems when I
> tried to build gcc 2.95.2.It first gave error about not being able to
> find stdlib.h and unistd.h which I managed to fix.
>   But i errors out on g++spec.c giving a whole of unrecognized opcode
> errors.I tried making it use both the powerpc-as and the /usr/bin/as but
> it gives the same errors.
>    Does anybody know how to fix these erros?Any help will be greatly
> appreciated

 The gcc-2.95.2 is from autumn-99, the binutils-2.9.1 from spring-98...
Many, many things may have changed --- new opcodes for newer models added,
bugs fixed and so on...

 So the first thing should be to download the current binutils (2.9.5) via:

    ftp://sourceware.cygnus.com/pub/binutils/snapshots

and try them instead of the old 2.9.1... Also the current Linux-binutils,
'2.9.5.x.y'-something may also be tried. Some people prefer the Linux sources,
some the Cygnus snapshots...

Cheers, Kai


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


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