Statically linking nessecary libraries

Need help with C, C++, perl, python, etc?

Statically linking nessecary libraries

Postby hertelbrian » 2006-10-12 18:44

can anyone tell me how to Statically link libraries that i need... i've consulted a few peopel and they say this is a pretty easy way to make sure i always have the libraries that i need.

is it just an add on to the g++ command? like.. g++ static [lib file] or something?

thanks
hertelbrian
 
Posts: 13
Joined: 2006-10-05 22:49

Postby brain » 2006-10-12 20:57

Just use your normal options and add -static.
User avatar
brain
 
Posts: 253
Joined: 2006-04-25 17:15


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable