Hi Bill,

Bill Moseley wrote:
> On Tue, Nov 02, 2004 at 12:39:10PM +0000, Gary V. Vaughan wrote:
> 
>>>2) Is there a "standard" way to run configure that should build a
>>>completely static binary?
>>
>>Assuming libtool is doing all your linking:
>>
>>./configure LDFLAGS='-all-static'
> 
> 
> As I posted, that doesn't work.

If I had thought about it a little, I wouldn't have told you that it should.
My bad.

>  What does work is:
> 
>   ./configure && make LDFLAGS=-all-static
> 
> Since passing LDFLAGS to configure doesn't work does that mean that
> there's something setup incorrectly in my setup?

No, your setup seems fine.

Libtool, however, is certainly doing the wrong thing wrt -static.  We
haven't quite figured out what the right thing is though.  Yet.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to