Static please!

George Woltman wrote:
> On Sat, Jun 6, 2009 at 10:43 AM, Steinar H.
> Gunderson<[email protected]> 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++ ".
> _______________________________________________
> Prime mailing list
> [email protected]
> http://hogranch.com/mailman/listinfo/prime
>   


-- 
George Cebulka
Senior System Engineer
University of Pittsburgh
Network Operations Center
[email protected]

_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to