cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: can i statically compile the lib?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 1 Apr 2008 08:06:04 -0700

On Tue, Apr 01, 2008 at 10:58:21AM +0300, Meir Yanovich wrote:
> i just fallowed the INSTALL file
> HTTP_ONLY disables all protocols except HTTP
> that in the code is disabling me all the protocols
> #ifdef HTTP_ONLY
> #define CURL_DISABLE_TFTP
> #define CURL_DISABLE_FTP
> #define CURL_DISABLE_LDAP
> #define CURL_DISABLE_TELNET
> #define CURL_DISABLE_DICT
> #define CURL_DISABLE_FILE
> #endif /* HTTP_ONLY */
> i added it to the "makefile.vc6"
> the compilation is in release mode
> so what else can i do ?

The INSTALL file lists a number of other configure options and other
techniques. Look at the configure.ac file to see what the options
do and add them. The one that would make the biggest difference is
--disable-manual, but I don't know if that's supported or even necessary
with the default VC6 build. Another good one is to switch the compiler
optimizer to optimize for size.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-01