Re: Running of applications under Windows XP
- From: "Mario Werner" <squall23 gmx at>
- To: "Petr Hracek" <phracek2 tiscali cz>
- Cc: gtkmm-list gnome org
- Subject: Re: Running of applications under Windows XP
- Date: Fri, 18 Jul 2008 11:47:55 +0200
When I build a gtk(mm) aplication for windows I add "-Wl,--subsystem,windows" as additional parameter during linking. At least the MinGW Linker (ld) supports this Parameter.
That means my makefile looks basically like this:
----------------------------------------------------------------------
all: gtkmm.exe
gtkmm.exe: main.o gui.o
g++ -o"gtkmm.exe" -Wl,--subsystem,windows main.o gui.o `pkg-config gtkmm-2.4 libglademm-2.4 --libs`
main.o: main.cpp
g++ -o"main.o" -O3 -Wall -c `pkg-config gtkmm-2.4 libglademm-2.4 --cflags` main.cpp
gui.o: gui.cpp
g++ -o"gui.o" -O3 -Wall -c `pkg-config gtkmm-2.4 libglademm-2.4 --cflags` gui.cpp
------------------------------------------------------------------------
Hope it helps you!
regards squall23
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]