[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.11,1.12
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.11,1.12 |
Date: |
Thu, 27 Feb 2003 02:19:50 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/cscc/common
In directory subversions:/tmp/cvs-serv23245/cscc/common
Modified Files:
cc_options.c
Log Message:
Force the use of "corlib" for the standard library when certain
combinations of options are supplied on the cscc command-line.
Index: cc_options.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/cscc/common/cc_options.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** cc_options.c 17 Feb 2003 18:11:16 -0000 1.11
--- cc_options.c 27 Feb 2003 07:19:48 -0000 1.12
***************
*** 858,861 ****
--- 858,876 ----
num_pre_defined_symbols = 0;
}
+
+ /* Force "-fstdlib-name=corlib" if compiling "corlib.dll" or if
+ "-lcorlib" is supplied on the command-line. Needed for
+ interoperability with Mono build scripts */
+ if(output_filename != 0 && strlen(output_filename) >= 10 &&
+ !ILStrICmp(output_filename + strlen(output_filename) - 10,
"corlib.dll"))
+ {
+ AddString(&extension_flags, &num_extension_flags,
+ "stdlib-name=corlib");
+ }
+ else if(CCStringListContains(libraries, num_libraries, "corlib"))
+ {
+ AddString(&extension_flags, &num_extension_flags,
+ "stdlib-name=corlib");
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/cscc/common cc_options.c,1.11,1.12,
Rhys Weatherley <address@hidden> <=