F11: Static linking now impossible?

Chris Adams cmadams at hiwaay.net
Fri Jun 26 18:13:22 UTC 2009


Once upon a time, Tom Horsley <tom.horsley at att.net> said:
> I'm sure I told it to install all the software development
> package groups, but I just tried this:
> 
> tomh> gcc -g -static -o fact /usr/lib/NightView/fact.c

Static linking doesn't guarantee a binary that doesn't look for dynamic
libraries at run-time and doesn't get sub-arch specific code (among
other reasons), so it is discouraged.

Why are you trying to link statically?
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the fedora-list mailing list