Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 1997 23:42:57 +0100 (MET)
From:      Thomas Sparrevohn <staff@kyklopen.ping.dk>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        Simon Shapiro <Shimon@i-Connect.Net>, freebsd-hackers@freebsd.org
Subject:   Re: FW: threads...
Message-ID:  <Pine.BSF.3.91.970319234016.1399B-100000@kyklopen>
In-Reply-To: <199703192044.HAA07624@freebsd1.cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 20 Mar 1997, John Birrell wrote:


> Simon Shapiro wrote:
> >   - there is name space collisions between libc and libc_r.
> >     supposedly libc_r is a full blown replacement for libc (?).
> >     if you link with libc_r, libc gets linked as well. since
> >     ld assumes startup files (crt0.o and std lib c). order is
> >     important to solve some name space problems but this causes
> >     other non-fatal problems - like an empty stub for
> >     _thread_init()
> 
> Use libc_r _instead_ of libc. libc_r is a super-set of libc, so the
> name space collisions are not surprising -- they're intended!
> 

Sorry but could'nt we just append a flag to gcc, say -pthread and let
gcc handle the library shift etc. Its actually quite easy.

-- Thomas





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970319234016.1399B-100000>