cURL / Mailing Lists / curl-library / Single Mail


Re: Re: Problem using static libraries libcurl with OpenSSL, minGW,Eclipse

From: Gisle Vanem <>
Date: Fri, 12 Aug 2011 21:50:54 +0200

"Oleksiy" <> wrote:

> g++ -DCURL_STATICLIB -O0 -g3 -Wall -c -fmessage-length=0 -osrc\main.o
> ..\src\main.cpp
> g++ -L..\lib -oYTUploader.exe src\main.o -lcurl -lws2_32 -lwldap32
> -leay32 -lssleay32 -lz
> The same thing

Try producing a .map file then:
   g++ -Wl,--print-map,--sort-common,--cref -L..\lib -oYTUploader.exe \
  src\main.o -lcurl -lws2_32 -lwldap32 -leay32 -lssleay32 -lz >

Study it and figure out why things are as they are.

List admin:
Received on 2011-08-12