On Dec 12, 2007, at 3:03 PM, Brian Dessent wrote:
Rick Mann wrote:
make[4]: *** No rule to make target `../../combined/bfd/../include/
aout/ar.h', n
eeded by `archive.lo'. Stop.
This looks like an incorrectly combined tree. Are you using the
"find |
cpio"/hard link method? Because you seem to have taken the include/
dir
from the gcc repo and not the src repo, but that will not work; you
need
to properly combine them to be a union of both sets. The src repo
does
contain include/aout/ar.h but the gcc repo does not.
Well, after much pain to get an authoritative answer, the best I was
able to do was a minor variant on this:
http://gcc.gnu.org/ml/gcc-help/2007-06/msg00230.html
The relevant part:
$ mkdir combined
$ cd combined
$ ln -s ../gcc-4.2.2/* .
$ ln -s ../binutils-2.17/* .
[several complaints from ln about existing links]
$ ln -s ../newlib-1.15.0/* .
[several complaints from ln about existing links]
$ cd ../..
$ mkdir testbuild
$ cd testbuild
$ ../src/combined/configure --target=xscale-elf --disable-nls --with-
newlib --prefix=/usr/local/xscale-elf-gcc --disable-newlib-supplied-
syscalls
(My gcc-4.2.2 was built by downloading the gcc core and c/c++ tars and
untarring core, then c/c++)
--
Rick