This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross Linux/x86 to Solaris2.10/x86-64 compiler build problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]