From owner-freebsd-questions Fri Nov 24 12:29:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 5C49437B4C5 for ; Fri, 24 Nov 2000 12:29:16 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id eAOKTDF13883; Fri, 24 Nov 2000 14:29:13 -0600 (CST) (envelope-from dan) Date: Fri, 24 Nov 2000 14:29:12 -0600 From: Dan Nelson To: Jim DeLisle Cc: "FreeBSD-questions@FreeBSD.ORG" Subject: Re: pthreads library Message-ID: <20001124142912.B2959@dan.emsphone.com> References: <3A1E8EF9.3F0C7582@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3A1E8EF9.3F0C7582@home.com>; from "Jim DeLisle" on Fri Nov 24 10:53:29 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 24), Jim DeLisle said: > I'm miffed on where the pthreads libraries are on a FreeBSD 4.0 > install. There seems to be on in the /usr/compat/linux/lib directory, > but I would have thought to have found a FreeBSD native version in > /usr/lib. /usr/lib/libc_r.* are the pthreads libraries. Add the "-pthread" option to your gcc compile and link lines to use them. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message