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


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

Re: egcs-1.1b or gcc-2.8.1 for powerpc cross-compiler ?


> I had this same problem.  I believe I had to set my path so that the
> gas(as - gnu assembler) path  was first in my path.  Otherwise it
> seemed that xgcc (intermediate compiler) was calling gas(as) from my
> /usr/bin.
> 
> What the real fix is I dont know. :)
As far as I experienced the binutils stuff (as, ar, ranlib etc.) are expected
in the <prefix>/<target> directory. For example if you are building for a
m68k-coff target and set your prefix directory to /opt/crossegcs, then the
cross assembler, linker and so on should reside in /opt/crossegcs/m68k-coff
(or /opt/crossegcs/m68k-coff/bin... not sure any more...). Placing the stuff
into a "binutils" directory just one level above the build directory (as one
would expect after reading the configure and Makefiles) works for ar, ranlib
and so on but doesn't work for the cross assembler.

Regards,
Juergen
-------------------------------------------------------------------------
Juergen Suessmaier
Texas Instruments Deutschland         EMail:
Automation Software Group             juergen@ti.com
Haggertystr 1                         juergen@jss01.ntakpe.com
D-85356 Freising, Germany             Juergen.Suessmaier@FernUni-Hagen.de
-------------------------------------------------------------------------

________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.