This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should I be able to build cross gcc 4.x on Cygwin?



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


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