[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building all static
From: |
Gary V. Vaughan |
Subject: |
Re: Building all static |
Date: |
Wed, 03 Nov 2004 14:57:52 +0000 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
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 ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- Re: Building all static, (continued)
- Re: Building all static, Bob Friesenhahn, 2004/11/02
- Re: Building all static, Bruce Korb, 2004/11/02
- Re: Building all static, Gary V. Vaughan, 2004/11/02
- Re: Building all static, Peter O'Gorman, 2004/11/03
- Re: Building all static, Gary V. Vaughan, 2004/11/03
- Re: Building all static, Bob Friesenhahn, 2004/11/03
- Re: Building all static, Peter O'Gorman, 2004/11/03
- Re: Building all static, Gary V. Vaughan, 2004/11/03
- Re: Building all static, Peter O'Gorman, 2004/11/03
Re: Building all static, Bill Moseley, 2004/11/03