Allow -mconsole (default) as well as -mwindows (just for consistency
with mingw)
Changelog:
Support -mconsole
diff -u -r tools.3/winegcc.c tools.4/winegcc.c
--- tools.3/winegcc.c 2003-08-13 15:49:35.000000000 +0100
+++ tools/winegcc.c 2003-08-13 15:49:12.000000000 +0100
@@ -176,6 +176,8 @@
use_msvcrt = 1;
else if (strcmp("-mwindows", argv[i]) == 0)
gui_app = 1;
+ else if (strcmp("-mconsole", argv[i]) == 0)
+ gui_app = 0;
break;
case 'n':
if (strcmp("-nostdinc", argv[i]) == 0)
@@ -312,6 +314,8 @@
; /* ignore this option */
else if (strcmp("-mwindows", argv[j]) == 0)
; /* ignore this option */
+ else if (strcmp("-mconsole", argv[j]) == 0)
+ ; /* ignore this option */
else if (strcmp("-mthreads", argv[j]) == 0)
; /* ignore this option */
else if (strncmp("-Wl,", argv[j], 4) == 0)