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


I had the same trouble, but managed to get past that in one of two ways:
     1. used the --with-headers flag during configure (see archive for details)
         This led to other problems further downstream, which I didn't chase (I 
          believe it was an "invalid opcode" or somesuch error later in the
          build.
       2. Used the one-tree shell script and the build-cross shell script.
          This just worked, so I didn't bother to check any further into #1.

Eric

On Wed, 26 Jan 2000, you wrote:
> Bala,
> 
> How did you fix the problem of the gcc-2.95.2 compilation not being able to 
> find stdlib.h and unistd.h.  I have had the same problem trying to build a 
> cross-compiler for m68k under Linux, and have not yet managed to overcome 
> it.
> 
> Matt.
> 
> >From: "Bala Jagannathan" <balaj@nortelnetworks.com>
> >To: crossgcc@sourceware.cygnus.com
> >Subject: Unrecognized opcode
> >Date: Wed, 26 Jan 2000 14:09:09 -0600
> >
> >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
> >
> >thanks
> >-Bala-
> >Bala Jagannathan
> >Nortel networks-wireless data
> >richardson
> >TX-75082
> ><< balaj.vcf >>
> >------
> >Want more information?  See the CrossGCC FAQ, 
> >http://www.objsw.com/CrossGCC/
> >Want to unsubscribe? Send a note to 
> >crossgcc-unsubscribe@sourceware.cygnus.com
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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