autoconf
[Top][All Lists]
Advanced

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

Re: Building all static


From: Peter O'Gorman
Subject: Re: Building all static
Date: Thu, 04 Nov 2004 00:08:34 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Gary V. Vaughan wrote:

Considering Bob's posts about how static linking against system libraries
gets you a binary that might stop working if you move it to another
similar version, or upgrade your system... and considering that we already
extract a list of automatically linked libraries for each compiler incase
we want to link with ld:  Why do you want to make -static the same as 
-all-static?

I am almost certain that in those cases the system libraries in question are not available as shared libs. I don't see -all-static doing anything at all on platforms where lt_prog_compiler_static is not set. I am saying that even without this flag libtool can and should look for static libraries in favor of shared ones if -static is on the command line.

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

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