From owner-freebsd-hackers Wed Apr 1 01:51:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25956 for freebsd-hackers-outgoing; Wed, 1 Apr 1998 01:51:49 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au ([203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25943 for ; Wed, 1 Apr 1998 01:51:43 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id TAA06288; Wed, 1 Apr 1998 19:50:39 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199804010950.TAA06288@cimlogic.com.au> Subject: Re: mozilla source In-Reply-To: <199804010942.RAA01206@ariadne.tensor.pgs.com> from Stephen Hocking-Senior Programmer PGS Tensor Perth at "Apr 1, 98 05:42:07 pm" To: shocking@prth.pgs.com (Stephen Hocking-Senior Programmer PGS Tensor Perth) Date: Wed, 1 Apr 1998 19:50:39 +1000 (EST) Cc: hackers@FreeBSD.ORG, shocking@ariadne.prth.tensor.pgs.com X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stephen Hocking-Senior Programmer PGS Tensor Perth wrote: > Doesn't our own gcc support the -thread option, which automagically setups up > the right defines and links in the -lc_r lib? It does the -lc_r, but not defines. FWIW, _THREAD_SAFE is only required to get a thread-safe errno. This was a compromize to meet the requirement that libc_r was not allowed to have a runtime impact on code in libc. The errno implementation will have to change when (if? - it's now April!) kernel threads kick in. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message