Adding a function to glibc?

Carlos O'Donell carlos@systemhalted.org
Thu Oct 22 18:21:00 GMT 2009


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.



More information about the Libc-help mailing list