This is the mail archive of the binutils@sources.redhat.com 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: --with-sysroot required when building 32->64 bit crosstoolchain? (was: building a cross-compiler is hard)


On Wed, Jan 07, 2004 at 02:54:36PM -0800, Daniel Kegel wrote:
> so I guess ld doesn't obey -L for that file?!

Yes.  It doesn't matter that it's a 32/64-bit cross environment, it's
still a cross environment to a hosted target.  DT_NEEDED are only
searched via -rpath-link and SEARCH_DIR.

You can use --with-sysroot for binutils without using it for GCC.  It's
not necessarily a good idea though.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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