Re: can i statically compile the lib?
Date: Tue, 1 Apr 2008 08:40:40 +0300
Thanks for the fast reply , do you know what i need to do when
compiling in windows?
using vc 6 ?
On Tue, Apr 1, 2008 at 8:22 AM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Tue, Apr 01, 2008 at 07:57:44AM +0300, Meir Yanovich wrote:
> > im new to this lib after searching the web for way to enable my
> > application to have http post/get sending
> libcurl's a good way to do that!
> > now i have 2 questions first is :
> > can i compile the lib to static lib so i can link it statically with
> > my application ?
> Yes. Make sure to configure libcurl with the --enable-static option
> (which is the default), then link your application with the output of
> `curl-config --static-libs` (this assumes a UNIX environment of some sort).
> > second question is Because i need only basic operations of the http
> > protocol ( that is send http and recive http )
> > can i reduce some how the lib size ?
> Yes, you can disable all the protocols and some features you don't want.
> See the "reducing size" section of the docs/INSTALL file.
> >>> 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