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]

Re: 1/2 OT: parallel installation of glibc + uclibc


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]