George Woltman wrote: > On Sat, Jun 6, 2009 at 10:43 AM, Steinar H. > Gunderson<sgunder...@bigfoot.com> wrote: >> >> You can always link only certain libraries statically, for instance: >> >> gcc -o whatever (other libs) -Wl,-Bstatic -lcurl -Wl,-Bdynamic > > That worked nicely. > > 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++ ".
Linked statically with curl and stdc++. /Per Jessen, Zürich _______________________________________________ Prime mailing list Prime@hogranch.com http://hogranch.com/mailman/listinfo/prime