From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20493 invoked by alias); 16 Nov 2003 16:56:47 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 20486 invoked from network); 16 Nov 2003 16:56:46 -0000 Received: from unknown (HELO web41112.mail.yahoo.com) (66.218.93.28) by sources.redhat.com with SMTP; 16 Nov 2003 16:56:46 -0000 Message-ID: <20031116165645.73191.qmail@web41112.mail.yahoo.com> Received: from [128.12.51.83] by web41112.mail.yahoo.com via HTTP; Sun, 16 Nov 2003 08:56:45 PST Date: Sun, 16 Nov 2003 16:56:00 -0000 From: Dara Hazeghi Subject: Re: Darwin cross-compile (i586): as fails on crtstuff.c To: distcc@scoco.be Cc: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00210.txt.bz2 Hello, what you've described are the classic symptoms of building a cross-compiler without having the necessary tools installed. You need to build and install binutils with the same target and prefix you're building gcc with. (--prefix=/opt/gcc-3.2.3 --target=i586-pc-linux-gnu). You should probable add $PREFIX to $PATH too (so gcc can find said binutils). Once you do that though, you'll need i586 headers and libraries to be available. See for instance. Also note that you'll need to pass the --with-headers=/path/to/i586/include/directory and --with-libs=/path/to/i586/libs flags when building ( under the section about cross-compilers, ignore the stuff about sysroot, it's only for newer compilers). For distcc, you can probably cheat (not use libraries, headers). To do that, instead of doing make for gcc, do make -k and make -k install. It'll break building the libraries, but distcc doesn't actually need them. You need binutils in any case. That said, I can't imagine why you'd use an iBook on a distcc farm. My poor tiBook takes many hours just to compile gcc, and that's enough for me :-) Cheers, Dara __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree