From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9241 invoked by alias); 19 Mar 2007 21:46:24 -0000 Received: (qmail 9228 invoked by uid 22791); 19 Mar 2007 21:46:23 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Mar 2007 21:46:15 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 0098B4B267; Mon, 19 Mar 2007 16:46:14 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id CFF434B262; Mon, 19 Mar 2007 16:46:13 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HTPgD-0006Ex-0y; Mon, 19 Mar 2007 17:46:13 -0400 Date: Tue, 20 Mar 2007 00:23:00 -0000 From: Daniel Jacobowitz To: Alex Bennee Cc: gcc , binutils Subject: Re: Cross Linux/x86 to Solaris2.10/x86-64 compiler build problem Message-ID: <20070319214612.GA23973@caradoc.them.org> Mail-Followup-To: Alex Bennee , gcc , binutils References: <1174339982.27206.10.camel@okra.transitives.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1174339982.27206.10.camel@okra.transitives.com> User-Agent: Mutt/1.5.14+cvs20070313 (2007-03-13) 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-03/txt/msg00257.txt.bz2 On Mon, Mar 19, 2007 at 09:33:01PM +0000, Alex Bennee wrote: > path=`pwd` > crossrc="$path/.." > host=i686-pc-gnu > target=i686-sun-solaris2.10 > prefix=$crosssrc/build-install > sysroot=$crosssrc/sysroot > syslibs=$sysroot/usr/lib > sysincludes=$sysroot/usr/include > > ./configure -prefix=$prefix --target=$target --with-gnu-as --with-gnu-ld > --with-libs=$syslibs --with-headers=$sysincludes --enable-languages=c,c > ++ --with-cpu=opteron I strongly recommend you use --with-sysroot instead of --with-libs / --with-headers. That should help. -- Daniel Jacobowitz CodeSourcery