From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24034 invoked by alias); 18 Nov 2003 07:56:13 -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 24027 invoked from network); 18 Nov 2003 07:56:12 -0000 Received: from unknown (HELO web41103.mail.yahoo.com) (66.218.93.19) by sources.redhat.com with SMTP; 18 Nov 2003 07:56:12 -0000 Message-ID: <20031118075612.23151.qmail@web41103.mail.yahoo.com> Received: from [128.12.51.83] by web41103.mail.yahoo.com via HTTP; Mon, 17 Nov 2003 23:56:12 PST Date: Tue, 18 Nov 2003 07:56:00 -0000 From: Dara Hazeghi Subject: Re: Darwin cross-compile (i586): as fails on crtstuff.c To: Jan Fabry Cc: gcc-help@gcc.gnu.org In-Reply-To: <3FB82967.10809@scoco.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-11/txt/msg00236.txt.bz2 Hello, > > I already had binutils installed (for the correct > target), and the > correct path was already included in $PATH. This > directory contains > i586-pc-linux-gnu-* symlinks, I guess this is > correct? (I didn't specify > this in the ./configure, they 'just appeared') The > (gcc) Makefile seems > to be prepared for this. So does $prefix/i586-pc-linux-gnu/bin contain binutils? Somehow, when gcc is configured, it's supposed to realize that the tools are in that directory. > So, I still have a few questions: > - If I unpack the binutils source in the same tree > as gcc, will it > 'automagically' also be built and installed? > - If not, why does ./gcc/xgcc tell me 'as' is the > assembler to use? How > can I change this? Pretty much. Usually what I do is decompress binutils, decompress gcc, create a new directory build, symlink gcc/* to build/ and binutils/* to build/ . Then create an objdir, configuring ../build/configure and so forth. Hope that helps. Dara __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree