[m-rev.] diff: fix MC++ compilation rule
Simon Taylor
stayl at cs.mu.OZ.AU
Fri Nov 15 21:27:52 AEDT 2002
On 05-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> 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
This will also need to be done in compiler/compile_target_code.m.
Simon.
--------------------------------------------------------------------------
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