[m-rev.] diff: update parameters to MC++ compiler.
Tyson Dowd
trd at cs.mu.OZ.AU
Wed May 23 17:44:55 AEST 2001
Hi,
This is needed for the latest Beta2 changes.
===================================================================
Estimated hours taken: 0.5
Branches: main
Track the changes in the latest version of the .NET C++ compiler.
scripts/Mmake.rules:
Add mscoree.lib to the parameters passed to the C++ compiler.
Index: scripts/Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.92.4.1
diff -u -r1.92.4.1 Mmake.rules
--- scripts/Mmake.rules 2001/05/03 13:06:21 1.92.4.1
+++ scripts/Mmake.rules 2001/05/23 07:36:45
@@ -217,7 +217,7 @@
rm -f $(os_subdir)$*.dll
$(MS_CL) -CLR$(MS_CL_NOASM) -I$(MERC_C_INCL_DIR) \
-I$(MERC_DLL_DIR) $(ALL_MS_CLFLAGS) $< -link -noentry \
- -dll $(MS_CL_LIBS) -out:$@
+ mscoree.lib -dll $(MS_CL_LIBS) -out:$@
$(os_subdir)%.dll : %.il
rm -f $(os_subdir)$*.dll
@@ -342,7 +342,8 @@
$(MS_ILASM) $(ALL_MS_ILASMFLAGS) /quiet /OUT=$@ $<
.cpp.dll:
- $(MS_CL) -CLR($MS_CL_NOASM) -I$(MERCURY_LIBRARY_PATH) $< -link -noentry -dll $(MS_CL_LIBS) -out:$@
+ $(MS_CL) -CLR($MS_CL_NOASM) -I$(MERCURY_LIBRARY_PATH) $< \
+ -link -noentry mscoree.lib -dll $(MS_CL_LIBS) -out:$@
.cpp.exe:
$(MS_CL) -CLR($MS_CL_NOASM) -I$(MERCURY_LIBRARY_PATH) $< -link -entry:main $(MS_CL_LIBS) -out:$@
--
Tyson Dowd #
# Surreal humour isn't everyone's cup of fur.
trd at cs.mu.oz.au #
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list