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 Saturday 23 May 2009 17:40:41 ng@piments.com wrote:trying --sysroot was one of my desperate attempts to get some sense out of this toolchain. I have now dumped the idea.
It is *not* needed to pass --sysroot to the compielrs build with crosstool-NG.
adding -nostdlib stops it finding the host libc but stops it finding any libc:
That's exactly the purpose of -nostdlib: to not use standard libraries.
was something missed off after the \ :?
So the two basic issues remain: why does it find /lib/libc.so.6 at all and why can't it find (or use) the library that exists in the libdir explicitly included with -L ??
What does the follwing command says: /back/ts/ct-wkg//x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \
And what does that one says: /back/ts/ct-wkg//x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \ -print-file-name=libc.so
Thanks for your help, Peter.
Regards, Yann E. MORIN.
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |