how to make libtool use stdlib

2015-09-08 Thread Andy Falanga (afalanga)
I'm working on a library which may need to link with the standard libraries (I 
assume since -nostdlib would seem to indicate that it's *not to* link with 
standard libraries).  I say this because of discussions I've come across making 
mention that using "-nostdlib" has adverse side effects with pthreads.  I'm 
using a library, log4cplus, which does make use of pthreads.

Using "./configure --help" doesn't reveal any method of making libtool 
discontinue the use of "-nostdlib".  How do I make this happen?

Andy

___
https://lists.gnu.org/mailman/listinfo/libtool


Re: how to make libtool use stdlib

2015-09-08 Thread Bob Friesenhahn

On Tue, 8 Sep 2015, Andy Falanga (afalanga) wrote:


I'm working on a library which may need to link with the standard libraries (I assume 
since -nostdlib would seem to indicate that it's *not to* link with standard libraries).  
I say this because of discussions I've come across making mention that using 
"-nostdlib" has adverse side effects with pthreads.  I'm using a library, 
log4cplus, which does make use of pthreads.

Using "./configure --help" doesn't reveal any method of making libtool discontinue the 
use of "-nostdlib".  How do I make this happen?


Libtool normally queries GCC to learn what libraries it would normally 
apply and carefully applies them anyway.


Is this not working for you?

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/

___
https://lists.gnu.org/mailman/listinfo/libtool