From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10843 invoked by alias); 12 Dec 2007 23:16:38 -0000 Received: (qmail 10835 invoked by uid 22791); 12 Dec 2007 23:16:37 -0000 X-Spam-Check-By: sourceware.org Received: from secure.latencyzero.com (HELO mail.latencyzero.com) (64.71.153.217) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Dec 2007 23:16:24 +0000 Received: (qmail 30135 invoked from network); 12 Dec 2007 23:16:22 -0000 Received: from unknown (HELO rmann1.internal.xbow.com) (rmann@63.64.55.212) by 0 with ESMTPA; 12 Dec 2007 23:16:22 -0000 Cc: Tim Prince Message-Id: From: Rick Mann To: gcc-help@gcc.gnu.org In-Reply-To: <476068DF.6FBFBE0F@dessent.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: Should I be able to build cross gcc 4.x on Cygwin? Date: Wed, 12 Dec 2007 23:16:00 -0000 References: <710C780E-6CF3-4950-9A39-8CFC26B08C2D@latencyzero.com> <475F3CA6.5090508@computer.org> <476068DF.6FBFBE0F@dessent.net> X-Mailer: Apple Mail (2.915) X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00249.txt.bz2 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