This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Trying to build cross tool chain using egcs-980302
- To: egcs at cygnus dot com, crosgcc at cygnus dot com
- Subject: Trying to build cross tool chain using egcs-980302
- From: Peter Barada <pbarada at wavemark dot com>
- Date: Fri, 13 Mar 1998 18:04:39 -0500
- CC: pbarada at wavemark dot com
I've hunted around for the answer, but I can't seem to find it...
I've got:
egcs-980302
bintutils-2.8.1.0.23
newlib-1.8
gdb-4.16
I'm trying to build a complete tool chain that can be used on a RH4.2
on a pentium pro AND retargeted for an embedded ppc-unknown-eabi.
This way the simulations running under RH will give me a great
warm-n-fuzzy about the code running in the embedded target. (Besides,
gdb is much better to use on the host than in the target).
When tyring to build for the RH-4.2, config.guess in egcs-980302
declares the system to be a i686-pc-linux-gnulibc1, and gdb-4.16
declares that an unsupported configuration:
$ ../gdb-4.16/configure --host=i686-pc-linux-gnulibc1
Invalid configuration `i686-pc-linux-gnulibc1': machine `i686-pc-linux' not recognized
If I try gdb's guess of i686-unknown-linux, gdb complains:
$ ../gdb-4.16/configure --host=i686-unkown-linux
Created "Makefile" in /usr/bigdisk/pbarada/src/gdb/objdir
../../gdb-4.16/bfd/../ltconfig: ../../gdb-4.16/bfd/../ltconfig: No such file or directory
configure: error: libtool configure failed
Configure in /usr/bigdisk/pbarada/src/gdb/objdir/bfd failed, exiting.
So at this point I decided to drop 9 and punt.
1) Do I have the latest sources to build both a native and cross
system? If not where do I get the latest set?
2) How do I stick all of this source together into one directory so I
only have to configure and build once?
I've looked around on the EGCS pages, and over on prep.ai.mit.edu, and
I haven't found much to help me...
Any info will be much appreciated.
--
Peter Barada pbarada@wavemark.com
Wizard 781-270-7098 x226
WaveMark Technologies, Inc. 781-270-0193 (fax)
"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein