Hello Greg,

> I've spent a few hours trying to run libcurl in codeblocks (GNU GCC
> mingw-32 Compiler),

I'm building on Debian Linux for Windows. However maybe my instructions
help you:

apt-get install git make gcc libx11-dev mingw-w64 libtool
git clone https://github.com/curl/curl
cd curl
./buildconf CC=i686-w64-mingw32-gcc ./configure --prefix=`pwd`/../local/win32
make -j
make install

Afterwards I'm building using:

`local/win32/bin/curl-config --cc --cflags --libs` -g -s -static -o my.exe my.c 
-Wall -fno-strict-aliasing -lcurl -lwinmm -lcrypt32 -lwldap32 -lws2_32 
-lwinhttp -lole32 -lcredui

Cheers,
        Thomas
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to