From owner-freebsd-hackers Thu Apr 8 10:36:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 8223D15ACB for ; Thu, 8 Apr 1999 10:36:49 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id NAA24731; Thu, 8 Apr 1999 13:34:01 -0400 (EDT) Date: Thu, 8 Apr 1999 13:34:01 -0400 (EDT) From: Daniel Eischen Message-Id: <199904081734.NAA24731@pcnet1.pcnet.com> To: dick@tar.com, obrien@NUXI.com Subject: Re: Linuxthreads "port" status and a request Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > 2) installing a new top level pthread.h that looks like: > > > > > > #if defined(LINUXTHREADS) || defined(LINUXTHREAD) > > > #include > > > > What if PREFIX was set to something other than "/usr/local" when the > > person compiled the port? > > Then the user would have to add an additional compile option like: > > -I/nonstandard_prefix/include/pthread/linuxthreads > > in order for the app to find the right files. In fact, the main > alternative to what I have proposed is simply to make them > do this anyway using whatever PREFIX they chose, and not mess with > the FreeBSD src tree. So any application that wants to use Linuxthreads must ensure that /include is first in the include path so that pthread.h and pthread_np.h are found there instead of /usr/include? This seems to make sense to me. I haven't looked at Linuxthreads, but is it possible for our pthread.h and pthread_np.h to be compatible (assuming we add missing capabilities)? Dan Eischen eischen@vigrid.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message