This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Statically linking against libutil
- From: Andreas Schwab <schwab at suse dot de>
- To: Timo Savola <timo dot savola at movial dot fi>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 05 Mar 2003 12:10:21 +0100
- Subject: Re: Statically linking against libutil
- References: <1046857504.16210.19.camel@held076>
Timo Savola <timo dot savola at movial dot fi> writes:
|> $ gcc -Wall -static -lutil -o test test.c
Fix your command line, order matters:
$ gcc -Wall -static -o test test.c -lutil
Andreas.
--
Andreas Schwab, SuSE Labs, schwab at suse dot de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."