This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, 2008-05-28 at 11:11 -0700, David Daney wrote: > David Sehr wrote: > > Ok, I've found where things are going wrong now. It appears that the > > glibc install is creating a libc.so (script) that uses an absolute > > pathname to /lib. Anyone have any pointers for how to convince it not > > to do that, but rather to use libdir? > > > > Configure your toolchain with --with-sysroot=??? With that ld and gcc > will interpret the paths relative to the sysroot. Yes thats the right way to handle it specifying --with-sysroot to cross-binutils and cross-gcc should get it right. You can also use install-lib install-headers as install targets to glibc build if you just need libraries and headers it wont install these scripts. Thanks -Khem
Attachment:
signature.asc
Description: This is a digitally signed message part
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |