| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: statically linking libcurl
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 26 Apr 2005 15:58:33 +0200 (CEST)
On Sun, 24 Apr 2005, Chris Neale wrote:
> I have judged whether or not a statically linked executable has been
In Linux/Unix you can 'ldd curl' to see what dynamic libs it needs (or not).
> Adding #define CURL_STATICLIB to my c source code appears to be identical to
On Linux, neither has any particular impact.
> I have read some previous posts that suggest to compile curl using
configure --disable-shared will have you build a static libcurl only.
> but also I have seen it mentioned that both the static and dynamically
That is correct.
> I have compiled curl simply by downloading it and typing make.
If you do that on a linux/unix it runs a default configure and it thus will
You then decide which one to use when you link your application.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-04-26 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info