From owner-freebsd-hackers Wed Apr 7 18:15:33 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.nuxi.com (nuxi.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id BF0B214C46 for ; Wed, 7 Apr 1999 18:15:31 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.9.2/8.9.1) id SAA07078; Wed, 7 Apr 1999 18:13:29 -0700 (PDT) (envelope-from obrien) Message-ID: <19990407181328.A7059@nuxi.com> Date: Wed, 7 Apr 1999 18:13:28 -0700 From: "David O'Brien" To: "Richard Seaman, Jr." , hackers@FreeBSD.ORG Subject: Re: Linuxthreads "port" status and a request Reply-To: obrien@NUXI.com References: <19990407102539.G467@tar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990407102539.G467@tar.com>; from Richard Seaman, Jr. on Wed, Apr 07, 1999 at 10:25:39AM -0500 X-Operating-System: FreeBSD 3.1-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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