[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool on FreeBSD with pthreads (with patch)
From: |
Scott James Remnant |
Subject: |
Re: Libtool on FreeBSD with pthreads (with patch) |
Date: |
Sat, 26 Jun 2004 15:54:31 +0100 |
On Fri, 2004-06-25 at 22:19 +0900, Peter O'Gorman wrote:
> Scott James Remnant wrote:
> > On Thu, 2004-06-24 at 23:36 +0900, Peter O'Gorman wrote:
> >>Bob Friesenhahn wrote:
> >>
> >>>What version of libtool are you using? It is my understanding that
> >>>current libtool already captures these options in the .la file.
> >>
> >>I am not sure if -pthread is broken in all 1.5.x and fixed in HEAD, is
> >>broken everywhere, or is only broken in old 1.5.x releases. Scott should
> >>have some kind of clue...
> >>
> >
> > No, it doesn't place -pthread in dependency_libs, because older versions
> > of Libtool break extremely heavily when found their. It should honour
> > it on the command line or if found in dependency_libs though.
>
> Ah, okay, I remember that now. I did just add an inherited_build_depends var
> to the .la in HEAD though perhaps we should put -pthread in there?
>
Sounds like a good idea; I'd also like to get in a var to remember what
compiler was used to compile the shared library ... so when you link a
C++ library you use g++ instead.
Sadly new job and other open source projects (dpkg) isn't giving me much
time to hack on Libtool :-(
> > There's another more interesting bug caused by Libtool's use of -
> > nostdlib, gcc will actually fail to link -lpthread in with this flag
> > even if you give -pthread on the command line.
> >
> > We shouldn't be using -nostdlib anyway.
>
> I never followed that one myself.
>
In which direction?
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
signature.asc
Description: This is a digitally signed message part