On Fri, 8 Jun 2007, John Carter wrote:
On Thu, 7 Jun 2007, Brian Dessent wrote:
path/to/configure --foo=bar ... LDFLAGS="-static"
I just tried this on gcc trunk with a C-only non-bootstrap native and it
worked fine, but you might have to make further adjustments. Although
even after stripping cc1 is nearly 9MB so I can't imagine that this is
very efficient memory-wise or performance-wise.
Just checked that over the weekend. Didn't work.
It worked in the sense the thing built, but still isn't statically linked to libc.
John Carter Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : john.carter@xxxxxxxxxx
New Zealand