On Sat, Jun 06, 2009 at 09:41:02AM -0400, George Woltman wrote:
>> That's true - and used to be the case for older versions, I think.
> It used to be true for older versions.  GCC/Linux won't let me
> build a staticly linked version.  If I recall correctly, it complains that
> gethostbyname must be linked to dynamically.

You can always link only certain libraries statically, for instance:

  gcc -o whatever (other libs) -Wl,-Bstatic -lcurl -Wl,-Bdynamic

/* Steinar */
-- 
Homepage: http://www.sesse.net/
_______________________________________________
Prime mailing list
Prime@hogranch.com
http://hogranch.com/mailman/listinfo/prime

Reply via email to