This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Cross compiler Alpha->powerpc problems
- To: "'bob dot koninckx at mech dot kuleuven dot ac dot be'" <bob dot koninckx at mech dot kuleuven dot ac dot be>, gcc-help at gcc dot gnu dot org
- Subject: RE: Cross compiler Alpha->powerpc problems
- From: David Korn <dkorn at pixelpower dot com>
- Date: Mon, 26 Mar 2001 13:38:55 +0100
>-----Original Message-----
>From: Bob Koninckx [mailto:bob.koninckx@mech.kuleuven.ac.be]
>Sent: 25 March 2001 11:30
>## PATH=/usr/local/crossgcc/powerpc-eabi/bin:$PATH; export PATH
Don't do this.
In the $prefix/$target/bin directory, you have cross binutils, with
no '$target-' prefix. Putting this directory first in your path means that
whenever gcc tries to invoke 'as', it will find the ppc cross assembler and
run that. That's not what you want; you want to find the native assembler,
since you're building a compiler that's meant to run on your alpha, not
your ppc.
What you really wanted was
PATH=/usr/local/crossgcc/bin:$PATH; export PATH
so that the cross compile process can find the cross binutils under the
name 'powerpc-eabi-as' etc.
Clear everything out and try again with this version of the path setting.
I can't promise that this is the solution to your problem, but it's
still necessary; I've always had mysterious build errors when I've made
that mistake myself.
BTW, http://sources.redhat.com/ecos/getstart.html only mentions the
tools as running under Linux and Windows, so you may find that they
don't build correctly under Alpha? Or are you running Linux on Alpha?
Have you joined the eCos mailing list? Did you apply the path from
http://sources.redhat.com/ecos/tools/patches/ecos-gcc-2952.pat
to the gcc source code?
DaveK
--
All your base are belong to us!
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************