This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


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: 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.


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