On Wed, Jun 10, 2009 at 10:30:44AM -0400, George Woltman wrote:
> What is the recommendation of the linux users?
> 1)  Release one executable or two?  (my preference is one
>      with curl linked staticly, all other libraries dynamic).
> 2)  Do libraries other than curl need static linking?  The executable
>      currently links in "-lm -lpthread -lcurl -lstdc++ ".

You'll probably only need one binary. glibc (-lc, -lm, -lpthread) is very
stable these days, and uses symbol versioning, it should pretty much be safe.
libstdc++, on the other hand, still changes with g++ versions, so it should
be subject to the same treatment as libcurl.

Beware of license issues when linking statically, by the way; some licenses
make a distinction between dynamic and static linking.

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

Reply via email to