Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2003 10:28:36 +1000
From:      John Birrell <jb@cimlogic.com.au>
To:        deischen@FreeBSD.org
Cc:        freebsd-threads@FreeBSD.org
Subject:   Re: Removing -pthread from gcc
Message-ID:  <20030906002836.GB25237@freebsd1.cimlogic.com.au>
In-Reply-To: <Pine.GSO.4.10.10309052012540.9168-100000@pcnet5.pcnet.com>
References:  <20030906000902.GA25237@freebsd1.cimlogic.com.au> <Pine.GSO.4.10.10309052012540.9168-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 05, 2003 at 08:18:08PM -0400, Daniel Eischen wrote:
> If you link an application, then it will.  But if you are linking
> a library (OpenGL, libgthread, etc), I don't think you will get
> the error.

Why do you need an error when you build the library? Presumably ports
people actually run the libraries that they build with an application
to test them. If the thread functions don't resolve, you'll get a
runtime error stating which library contained an unresolved reference.
I think these things have a way of working themselves out without having
to be too clever. 8-)

-- 
John Birrell



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