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] |
voila:"ng", All,
On Sunday 24 May 2009 22:09:27 ng@piments.com wrote:Yann E. MORIN wrote:thanks, I realised that , it was an attempt to verofu what was happening by explicitly specifying everything. When it made no difference I concluded the built-in sysroot was correctly interpreted and the problem lay elsewhere.It is *not* needed to pass --sysroot to the compielrs build with crosstool-NG.
So, your toolchain is working, and you are trying to reproduce gcc's internal logic by passing args on the command line, right?
was something missed off after the \ :?What does the follwing command says: /back/ts/ct-wkg//x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \
Yes, sorry: bla-bla-gcc -print-search-dirs
Well it builds a bootable kernel and busybox but I can't get past this incompatible /lib/libc.so.6 error in portmap.
/back/ts/ct-wkg//x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \ -print-file-name=libc.so
/back/ts/ct-wkg/x-tools/arm-unknown-linux-gnueabi/bin/../arm-unknown-linux-gnueabi//sys-root/usr/lib/libc.so
OK.
cat /back/ts/ct-wkg/x-tools/arm-unknown-linux-gnueabi/bin/../arm-unknown-linux-gnueabi//sys-root/usr/lib/libc.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) )
OK , so that explains the reference to /lib/libc.so.6 , is that what you would expect to see here?
Yes, correct. Those are paths relative to the sysroot, so gcc will hapilly find them. BTW, notice: ld-linux.so.3 -> EABI-era dynamic linker, good.
To conclude this thread: does your toolchain correctly works by default?
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] |