This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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]

Re: glibc 2.16.0


On Tue, Dec 18, 2012 at 12:37 AM, çãç <ShiroiKuma@shiroikuma.org> wrote:
>> You can change the interpreter when compiling with
>>
>>     gcc ... -Wl,-dynamic-linker,/my/lib/ld-linux.so.2 ...
>
> Yeah, I'll probably look into this, as a way to remove the necessity
> to bindmount /lib, thanks for the hint...

And a followup question to this:

Looking for instance at ldd of the tar binary, it links to:
        librt.so.1 => /lib/librt.so.1 (0xdeadbeef)
        libc.so.6 => /lib/libc.so.6 (0xdeadbeef)
        ld-linux.so.3 => /lib/ld-linux.so.3 (0xdeadbeef)
        libpthread.so.0 => /lib/libpthread.so.0 (0xdeadbeef)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xdeadbeef)

which are all in the x-tools sysroot.

Supposing, I wanted to do away with the bindmount of /lib, I'd like to
place all these libraries to some /alternate/location

How/where do I setup ct-ng to build the toolchain with the sysroot
libs in ~/x-tools/.../.../alternate/location, so these are then linked
against?
-- 
çãç

--
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]