![]() |
|
How do I get rid of the console window? |
Funklord
Member #467
June 2000
![]() |
When I compile an Allegro windowed program with MingW32 and run, it first open a console window which says "1" then another which displays the program graphics. ---------------------- Age is inversely proportional to how much drink you've had - Funklord |
Evert
Member #794
November 2000
![]() |
Add -Wl,--subsystem,windows to the linker command line and you won't get unwanted console windows anymore. |
Oz
Member #559
July 2000
|
whats wrong with -mwindows? |
Evert
Member #794
November 2000
![]() |
I've been told that -mwindows is outdated and may be removed in a future version of gcc and the -Wl,--subsystem,windows is now the prefered method. |
|