Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 1999 18:13:28 -0700
From:      "David O'Brien" <obrien@NUXI.com>
To:        "Richard Seaman, Jr." <dick@tar.com>, hackers@FreeBSD.ORG
Subject:   Re: Linuxthreads "port" status and a request
Message-ID:  <19990407181328.A7059@nuxi.com>
In-Reply-To: <19990407102539.G467@tar.com>; from Richard Seaman, Jr. on Wed, Apr 07, 1999 at 10:25:39AM -0500
References:  <19990407102539.G467@tar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Solution to header problem
> --------------------------
> 1) copying the existing pthread.h and pthread_np.h headers to a subdirectory
> (I've proposed /usr/include/pthread/uthread -- in case the FreeBSD kernel
> threads also produces a conflict, it could use /usr/include/pthread/kthread).

Why not just rename pthread.h to linux_pthread.h and pthread_np.h to
linux_pthread_np.h ?
 
> 2) installing a new top level pthread.h that looks like:
> 
> #if defined(LINUXTHREADS) || defined(LINUXTHREAD)
> #include </usr/local/include/pthread/linuxthreads/pthread.h>

What if PREFIX was set to something other than "/usr/local" when the
person compiled the port?

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990407181328.A7059>