This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Which threads for default? (was Re: make check with libstdcxx broken)



On Sat, Nov 04, 2000 at 07:37:34AM +0100, Andreas Jaeger wrote:
> 
> I found the problem.  I configured with "--enable-threads" and this
> leads to:
> 
> checking for enabled cshadow headers... no
> checking for threads package to use... configure: error:  is an unknown thread package

Er.  I noted this problem in the documentation (configopts.html) but never
pushed for closure.

The full option is --enable-threads=name_of_thread_package.  Without
specifying the thread package, we use "some kind of default," which was
never decided on.  Looks like everyone so far has actually been giving
the name of a threads package, and you're the first person to run into
this little discrepancy.  (Well, the first to report it, anyhow.  :-)

Defaulting to posix seems the only reasonable choice right now.  I will
do that unless somebody complains loudly and soon.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]