[m-dev.] diff: bug fix for -o on dec alpha

Peter Ross petdr at cs.mu.OZ.AU
Tue Jun 13 20:11:55 AEST 2000


Hi,


===================================================================


Estimated hours taken: 0.1

Fix a bug on dec-alpha-osf3.2 where
    mgnuc -c mercury_accurate_gc.c -omercury_accurate_gc.c
gives the error
    mips-tfile:mercury_accurate_gc.o: No such file or directory

configure.in:
    Set OBJFILE_OPT to be "-o " on unix systems.  Note the trailing
    space.

scripts/Mmake.vars.in:
    Quote OBJFILE_OPT to ensure that the trailing space is preserved.


Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.207
diff -u -r1.207 configure.in
--- configure.in	2000/06/08 13:06:37	1.207
+++ configure.in	2000/06/13 09:39:33
@@ -273,7 +273,7 @@
 	LINK_LIB="-l"
 	LINK_OPT_SEP=""
 
-	OBJFILE_OPT="-o"
+	OBJFILE_OPT="-o "
 	AR="ar"
 	ARFLAGS="cr"
 	AR_LIBFILE_OPT=""
Index: scripts/Mmake.vars.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.vars.in,v
retrieving revision 1.33
diff -u -r1.33 Mmake.vars.in
--- scripts/Mmake.vars.in	2000/06/08 13:06:47	1.33
+++ scripts/Mmake.vars.in	2000/06/13 09:39:52
@@ -476,7 +476,7 @@
 
 #-----------------------------------------------------------------------------#
 
-OBJFILE_OPT=@OBJFILE_OPT@
+OBJFILE_OPT="@OBJFILE_OPT@"
 
 O=@OBJ_SUFFIX@
 A=@LIB_SUFFIX@

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list