1/2 OT: parallel installation of glibc + uclibc

Thomas Schwinge tschwinge@gnu.org
Sun Nov 25 12:17:00 GMT 2007


Hello!

On Thu, Nov 22, 2007 at 07:09:29PM +0100, Enrico Weigelt wrote:
> Well, that uclibc will be a special one for plan9port apps only. 
> Thinks not required for the Plan9 API will be kicked off, and
> some others (eg. 9P handling) added. 
> 
> IMHO the best would be changing ld.so's name (and also adopt
> cc's ldstub) for that.
> 
> Did anyone already do that (and could give me some tips) ?

Install uclibc into a non-standard place and then use suitable
compile-time (link-time) options à la:

    gcc ... -L[uclibc]/lib -Wl,-rpath,[uclibc]/lib -Wl,--dynamic-linker,[uclibc]/lib/ld.so

Specify ``-Wl,--trace'' to see which files are being used / linked
against.

Also, you'll want to make the C preprocessor use uclibc's header files.


Regards,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20071125/c802efb4/attachment.sig>


More information about the crossgcc mailing list