Troubles building a (nearly) unified tree
Peter Barada
pbarada@mail.wm.sps.mot.com
Thu Nov 7 09:53:00 GMT 2002
I'm having trouble trying to build an m68k-elf cross-copmiler from the
ananymous cvs sources, and I 've checked out the gcc tree, the
binutils tree ad the newlib tree.
I figured out pretty quickly that I wanted to leave the binutils and
newlib trees together, and then attempted to configure it with:
mkdir -p obj/junk/m68k-elf ; cd obj/junk/m68k-elf
../../../src/configure --target=m68k-elf --prefix=/tmp/junk
and build it, but it failed since it was loking for the cross compiler
to build it.
I placed in the src directory a link to the gcc tree (which was
checked out at a peralle level to 'src') (cd src ; ln -s ../gcc
gcc) and reconfigured, and that worked, but when I built it, it fails with:
make[2]: Leaving directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/fastjar'
make[2]: Entering directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/gcc'
(cd intl && make all)
make[3]: Entering directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/gcc/intl'
/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/xgcc -B/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/ -nostdinc -B/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/m68k-elf/newlib/ -isystem /home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/m68k-elf/newlib/targ-include -isystem /home/pbarada/work/cvs-gnu/src/newlib/libc/include -B/tmp/junk/m68k-elf/bin/ -B/tmp/junk/m68k-elf/lib/ -isystem /tmp/junk/m68k-elf/include -L/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/ld -dumpspecs > tmp-specs
/bin/sh: /home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/xgcc: No such file or directory
make[2]: *** [specs] Error 127
make[2]: Leaving directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/pbarada/work/cvs-gnu/obj/junk/m68k-elf/gcc'
make: *** [all-gcc] Error 2
[pbarada: ~/work/cvs-gnu/obj/junk/m68k-elf] >
THis is because xgcc is in obj/junk/m68k-elf/gcc/gcc/xgcc, not
obj/junk/m68k-elf/gcc/gcc/xgcc.
Any ideas how to get it to build?
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
More information about the Gcc
mailing list