[m-rev.] diff: fix MC++ compilation rule
Peter Ross
pro at missioncriticalit.com
Tue Nov 5 21:11:46 AEDT 2002
Hi,
===================================================================
Estimated hours taken: 0.5
Branches: main
Fix a bug in fjh's previous change where we are passing the linker
flag for naming the output file to the C compiler, not the C compiler
flag.
scripts/Mmake.rules:
'-o' is the flag for naming the output file for the C compiler.
Index: scripts/Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.138
diff -u -r1.138 Mmake.rules
--- scripts/Mmake.rules 6 Nov 2002 04:24:22 -0000 1.138
+++ scripts/Mmake.rules 15 Nov 2002 10:03:48 -0000
@@ -271,7 +271,7 @@
$(MS_CL) -CLR$(MS_CL_NOASM) $(ALL_MS_CLFLAGS) \
-I`$(FIX_PATH_FOR_CL) $(MERC_C_INCL_DIR)` \
-AI`$(FIX_PATH_FOR_CL) $(MERC_DLL_DIR)` $< \
- /LD $(MS_CL_LIBS) -out:$@
+ /LD $(MS_CL_LIBS) -o $@
rm -f $*.obj
$(os_subdir)%.dll : %.cs
--------------------------------------------------------------------------
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