This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Adding a function to glibc?
On Thu, Oct 22, 2009 at 12:41 PM, Almohri, Hussain <almohri@gmail.com> wrote:
> I actually have two ld files, I used both but it doesn't work.
> How can I determine it is actually trying to link using the new library?
> I'm worried if I have done something wrong when compiling the library
> or I'm not specifying the right path.
Generate a linker map file and examine the map file.
Add "-Wl,-Map,test.map" to build a linker map file, and see which
libraries are being used.
Cheers,
Carlos.