Re: Can't seem to get rid of the console window (Windows port)



   Hello Justin.
AFAIK the .exe header has a flag that tells if a program is a console or a windowed program, so I guess you should try to specify the "-mwindows" flag on the linking process instead of the compiling one because the linker is what generates the .exe file and has control over it, not the compiling one; so, try to specify -mwindows when you invoke the GCC C Linker. I can't asure you anything because I still didn't build any GTK application for Windows but maybe my theory is right or maybe not, but its cheap to try, right? :).
   HTH, good luck!!!

P.s.: your project seems interesting!



El 11/06/06 13:42, Justin Clift escribió:

[cut a lot]

make -k all
Building file: ../flame-edit.c
Invoking: GCC C Compiler
gcc -DORBIT2=1 -Ic:/MinGW/include/gtk-2.0
- -Ic:/MinGW/include/libgnome-2.0 -Ic:/MinGW/include/libbonobo-2.0
- -Ic:/MinGW/include/gnome-vfs-2.0
- -Ic:/MinGW/include/bonobo-activation-2.0 -Ic:/MinGW/include/gconf/2
- -Ic:/MinGW/include/orbit-2.0 -IC:\MinGW\libxml2-2.6.23.win32\include
- -Ic:/MinGW/lib/gtk-2.0/include -Ic:/MinGW/include/atk-1.0
- -Ic:/MinGW/include/cairo -Ic:/MinGW/include/pango-1.0
- -Ic:/MinGW/include/glib-2.0 -Ic:/MinGW/lib/glib-2.0/include -O0 -Wall -c
- -fmessage-length=0 -mms-bitfields -mno-cygwin -mwindows -oflame-edit.o
../flame-edit.c
Finished building: ../flame-edit.c

Building target: flame-edit.exe
Invoking: GCC C Linker
gcc -Lc:/MinGW/lib -Lc:/MinGW/libxml2-2.6.23.win32/lib
- -Lc:/devel/target/stable/lib -Lc:/opt/gnuwin32/lib -oflame-edit.exe
./flame-edit.o -lgtk-win32-2.0 -lpng14 -lungif4 -lming -lzdll -lpopt
- -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lgdk-win32-2.0
- -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0
- -lfontconfig -lfreetype -lpango-1.0 -lm -lcairo -lgobject-2.0
- -lgmodule-2.0 -lglib-2.0 -lintl -liconv
Finished building target: flame-edit.exe

Build complete for project flame-edit



--
Ivan Baldo - ibaldo adinet com uy - http://ibaldo.codigolibre.net/
ICQ 10215364 - Phone/FAX (598) (2) 613 3223.
Caldas 1781, Malvin, Montevideo, Uruguay, South America, planet Earth.
In favour of world peace and freedom, against U.S.A. and allies!!!
Alternatives: ibaldo codigolibre net - http://go.to/ibaldo





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