cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cannot link to libcurl under cygwin

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 24 May 2005 10:17:20 +0200 (CEST)

On Mon, 23 May 2005, Chris Scaffidi wrote:

> - Finally, went to the command line and tried compiling:
>
> gcc -lcurl -L/cygwin/usr/lib test.cc

Is this a case where the order of the options matters? Try:

  gcc test.cc -L/cygwin/usr/lib -lcurl

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-24