cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: static compilation & related query ?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 8 Sep 2004 01:41:15 -0700

On Wed, Sep 08, 2004 at 01:18:37AM -0700, Ram wrote:
> hi,
> i have a program which will use libcurl.a (Static Lib of libcurl).
>
> my program will also be using libc (shared lib) like printf, fgets and so on.
>
> when i compile my program.
>
>
> cc myprogram.c libcurl.a
>
> will the final executable use the static lib of libc or shared lib of libc.
>
> what i am trying to say. can i compile some functions statically and
> some functions using shared lib.

Yes, this should work fine.

>>> Dan

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