[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pthread + SUN Compiler
From: |
spam . me |
Subject: |
Re: pthread + SUN Compiler |
Date: |
Wed, 17 Feb 2010 11:15:39 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) |
Dear Ralf,
> > AC_CHECK_LIB(pthread, pthread_create,,
> > AC_CHECK_LIB(pthread, __pthread_create,,
> > AC_CHECK_LIB(pthread, __pthread_create_system,,
> > AC_CHECK_LIB(c_r, pthread_create,,
> > AC_CHECK_LIB(c, pthread_create,,
> > AC_MSG_ERROR("could not find thread
> > libraries"))))))
>
> Try using the ACX_PTHREAD macro from the Autoconf Macro Archive instead
> of this hand-made thing. Probably Bob is right though that this was
> pulled in from another (gcc-compiled?) installed libtool library.
I used AX_PTHREAD and that doesn't changed anything.
But I'm a but wondering, why libtool can't be forced to omit certain flags in
the *la files.
> Cheers,
> Ralf
>