Mingw32 (fedora)

yum install mingw32*

-mwindows

https://gtk-win.sourceforge.io/home/index.php/Main/Downloads



mingw32-pkg-config --libs --cflags gtk+-2.0

mingw32-pkg-config --list-all

ls /usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/
./configure --host=i686-w64-mingw32

make --CXXFLAGS+=-mwindow

How to find library dependencies of Windows DLL

# install
yum install mingw-binutils-generic.x86_64
# Show dependencies dll
mingw-objdump -p a.exe | grep DLL

# install
yum install binutils
# Show dependencies dll
objdump -p a.exe  | grep DLL
$ yum install mingw32-nsis.x86_64  mingw32-nsiswrapper.noarch

$ makensis project.nsi