This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Cross Linux/x86 to Solaris2.10/x86-64 compiler build problem
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alex Bennee <kernel-hacker at bennee dot com>
- Cc: gcc <gcc-help at gcc dot gnu dot org>, binutils <binutils at sourceware dot org>
- Date: Mon, 19 Mar 2007 17:46:12 -0400
- Subject: Re: Cross Linux/x86 to Solaris2.10/x86-64 compiler build problem
- References: <1174339982.27206.10.camel@okra.transitives.com>
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