How to compile a standalone gtk problem using mingw?

Michael Cronenworth mike at cchtml.com
Wed Jan 25 15:55:58 UTC 2012


Tom wrote:
> I have installed mingw32, when I use i686-pc-mingw32-gcc gtktest.c -o
> gtktest.exe `mingw32-pkg-config --libs --cflags gtk+-2.0`,It's OK.but
> when I use i686-pc-mingw32-gcc gtktest.c -o gtktest.exe
> `mingw32-pkg-config --libs --cflags gtk+-2.0` --static , It shows these
> errors:

AFAIK static linking is not supported by GTK on Windows.

In the future you may wish to ask MinGW questions on the mailing list[1] 
or in IRC[2].

[1] https://admin.fedoraproject.org/mailman/listinfo/mingw
[2] #fedora-mingw on freenode


More information about the users mailing list