new libc

Gilles Carry Gilles.Carry@bull.net
Mon Sep 8 06:50:00 GMT 2008


Polina Dudnik wrote:
> Hi,
> 
> I build a new libc on OpenSolaris with certain modifications. 
> Specifically, new libc now includes a few new functions. Now I am trying 
> to compile a file with the new libc. To point the compiler to the new 
> libc I use the -R flag. However, what ends up happening is my new binary 
> file depends on both the new and the old libc. So, if I use the new 
> functions the linker gets confused and can't find the definitions for 
> the new functions. How can I fix this? Thank you.


Hello,

I used to compile with this script and link with the automatically
generated Makefile.inc
It works perfectly. (for me at least ;-)

Cheers.

Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-build.gz
Type: application/x-gzip
Size: 2101 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20080908/95d10546/attachment.bin>


More information about the Libc-help mailing list