Re: problem about cross compiling win32 program under linux



Il giorno Tue, 8 Jun 2010 21:14:59 +0800
Roy Chang <acm zrl gmail com> ha scritto:

> *I tend to compile win32 gtk program under linux using mingw like this:*
> 
> i486-mingw32-gcc  `pkg-config --libs --cflags gtk+-2.0`
> -Isoftware/win_gtk_dev/zlib-dev_1.2.4-2_win32/include
> -Lsoftware/win_gtk_dev/zlib-dev_1.2.4-2_win32/lib -lz
> -Isoftware/win_gtk_dev/gettext-runtime-dev-0.17-1/include
> -Lsoftware/win_gtk_dev/gettext-runtime-dev-0.17-1/lib hello.c -o hello.exe

First of all, I'd suggest to read this:

http://mail.gnome.org/archives/gtk-app-devel-list/2010-February/msg00036.html

-- 
Nicola


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]