Re: crosscompile Linux-Windows



Benjamin Scholz wrote:

> that didn't worked:
> i586-mingw32msvc-ld *.o -o file.exe -L/wine/gtk/lib/ -lgtkmm-2.4
> -latkmm-1.6 -lgtk-win32-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0
> -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
> -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 

Don't use the ld linker directly as some crucial libraries are missing
in your command line (msvcrt for example).

Try to use

i586-mingw32msvc-g++ *.o -o file.exe `pkg-config --libs gtkmm-2.4`

instead

Cedric



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