Re: Building all static

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

 



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      ())_.  gary@{lilith.warpmail.net,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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux