This is the mail archive of the libc-alpha@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: [PING 2][PATCH v3] Add pretty printers for the NPTL lock types


On Mon, Mar 21, 2016 at 1:02 PM, Andreas Schwab <schwab@suse.de> wrote:
> nptl/Makefile automatically links all tests against libpthread.  You
> have to copy that into the new makefile.

I know it does, the question is *how* it does it.

>From what I saw, all the nptl Makefile does is set the libpthread
binaries as prerequisites of its tests. Is there some magic somewhere
that uses this to link to libpthread? If so, how does it work, and
what exactly should I write?

Also, what about static linking? Does the 'build-shared' variable tell
how to link against libpthread in all the Makefiles?


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