[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: build just pthreads



On Mon, Jun 23, 2003 at 01:19:23PM +0200, David N. Welton wrote:
> 
> [ Please CC replies to me - thanks! ]
> 
> Hi guys,
> 
> I'm trying to figure out what may be problem with pthreads
> (pthread_create is hanging in Tcl).
> 
> In order to do this, I want to build my own pthread library to fiddle
> around with.  What's the magic recipe to accomplish this?  I've gotten
> as far as:
> 
> @ashland [~/download/glibc-2.3.1/powerpc-linux/obj] $ make -C /home/davidw/download/glibc-2.3.1/glibc-2.3.1 objdir=`pwd` linuxthreads/subdir_lib                make: Entering directory `/home/davidw/download/glibc-2.3.1/glibc-2.3.1'
> make  -C linuxthreads subdir_lib
> make[1]: Entering directory `/home/davidw/download/glibc-2.3.1/glibc-2.3.1/linuxthreads'
> make[1]: Nothing to be done for `subdir_lib'.
> 
> But don't quite have the next step, where actual compilation is
> involved.  Any ideas?

You can't do it easily - glibc's makefiles just won't let you.  I think
you're looking for subdir_others, but it will try to link to the
just-build libc.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: