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] |
"ng", All, On Sunday 24 May 2009 22:09:27 ng@piments.com wrote: > Yann E. MORIN wrote: > > It is *not* needed to pass --sysroot to the compielrs build with > > crosstool-NG. > 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. So, your toolchain is working, and you are trying to reproduce gcc's internal logic by passing args on the command line, right? > > What does the follwing command says: > > /back/ts/ct-wkg//x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc \ > was something missed off after the \ :? Yes, sorry: bla-bla-gcc -print-search-dirs > /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. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- 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] |