libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking a shared library with -pthread omits -pthread on the link l


From: Ossama Othman
Subject: Re: linking a shared library with -pthread omits -pthread on the link line.
Date: Sat, 14 Dec 2002 13:48:39 -0800
User-agent: Mutt/1.3.28i

Hi,

On Sat, Dec 14, 2002 at 02:50:09PM -0600, Albert Chin wrote:
> Because it's different! Actually, it works for everything *except* the
> C tag. The reason is because we do this:
>   set dummy $CC
>   compiler=$2
> 
> Obviously, if CC="gcc -mno-cygwin", then $2=gcc. The correct solution
> is:
>   set dummy "$CC"
>   compiler=$2

I'm not against the patch, but shouldn't we educate folks to put
things like "-mno-cygwin" into the appropriate "FLAGS" variable
(e.g. CFLAGS) rather than abuse a variable that is meant to only hold
the compiler name.

-Ossama
-- 
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]