winegcc:

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

 



ChangeLog
  Compile with WINE_UNICODE_NATIVE defined, essential for C++.
  New -V option to display the version.
  Do not link -lc, screws up linking, just get the default.

Index: tools/winegcc.c
===================================================================
RCS file: /var/cvs/wine/tools/winegcc.c,v
retrieving revision 1.1
diff -u -r1.1 winegcc.c
--- tools/winegcc.c	19 Dec 2002 23:41:30 -0000	1.1
+++ tools/winegcc.c	23 Dec 2002 05:24:45 -0000
@@ -72,6 +72,10 @@
                 case 'v':        /* verbose */
                     if (argv[i][2] == 0) verbose = 1;
                     break;
+		case 'V':
+		    printf("winegcc v0.3\n");
+		    exit(0);
+		    break;
 		case 'm':
 		    if (strcmp("-mno-cygwin", argv[i]) == 0)
 			use_msvcrt = 1;
@@ -125,6 +129,7 @@
 	    if (use_msvcrt) gcc_argv[i++] = "-I" INCLUDEDIR "/msvcrt";
 	    gcc_argv[i++] = "-I" INCLUDEDIR "/windows";
 	}
+	gcc_argv[i++] = "-DWINE_UNICODE_NATIVE";
 	gcc_argv[i++] = "-D__int8=char";
 	gcc_argv[i++] = "-D__int16=short";
 	gcc_argv[i++] = "-D__int32=int";
@@ -145,7 +150,7 @@
 
     if (linking)
     {
-	if (use_stdlib) gcc_argv[i++] = use_msvcrt ? "-lmsvcrt" : "-lc";
+	if (use_stdlib && use_msvcrt) gcc_argv[i++] = "-lmsvcrt";
     }
     gcc_argv[i] = NULL;
 


-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux