[m-dev.] Re: bootstrapping problem

Peter Ross petdr at cs.mu.OZ.AU
Mon Jun 19 22:31:27 AEST 2000


On Mon, Jun 19, 2000 at 03:01:35PM +1000, Fergus Henderson wrote:
> Hi Pete,
> 
> Your changes to add `--c-flag-to-name-object-file' broke things,
> because they don't bootstrap with the old compiler.
> 
> Could you please either fix this or undo your change?
> 

Hi,


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


Estimated hours taken: 0.1

scripts/mmc.in:
    Fix a bootstraping problem, the options --c-flag-to-name-object-file
    and --object-file-extension can't be set by the mmc.in script until
    a compiler exists that recognises them.  The defaults for these
    flags are the unix flags.

Index: mmc.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/mmc.in,v
retrieving revision 1.9
diff -u -r1.9 mmc.in
--- mmc.in	2000/06/16 16:37:46	1.9
+++ mmc.in	2000/06/19 10:47:44
@@ -43,8 +43,8 @@
 		--cc "$CC" --grade "$DEFAULT_GRADE" \
 		--cflags-for-regs "$CFLAGS_FOR_REGS" \
 		--cflags-for-gotos "$CFLAGS_FOR_GOTOS" \
-		--c-flag-to-name-object-file "$CFLAG_TO_NAME_OBJECT_FILE" \
-		--object-file-extension "$OBJECT_FILE_EXTENSION" \
+		# --c-flag-to-name-object-file "$CFLAG_TO_NAME_OBJECT_FILE" \
+		# --object-file-extension "$OBJECT_FILE_EXTENSION" \
 		--num-real-r-regs "$NUM_REAL_R_REGS" \
 		--num-real-r-temps "$NUM_REAL_R_TEMPS" \
 		--conf-low-tag-bits "$LOW_TAG_BITS" \
@@ -60,8 +60,8 @@
 		--cc "$CC" --grade "$DEFAULT_GRADE" \
 		--cflags-for-regs "$CFLAGS_FOR_REGS" \
 		--cflags-for-gotos "$CFLAGS_FOR_GOTOS" \
-		--c-flag-to-name-object-file "$CFLAG_TO_NAME_OBJECT_FILE" \
-		--object-file-extension "$OBJECT_FILE_EXTENSION" \
+		# --c-flag-to-name-object-file "$CFLAG_TO_NAME_OBJECT_FILE" \
+		# --object-file-extension "$OBJECT_FILE_EXTENSION" \
 		--num-real-r-regs "$NUM_REAL_R_REGS" \
 		--num-real-r-temps "$NUM_REAL_R_TEMPS" \
 		--conf-low-tag-bits "$LOW_TAG_BITS" \

--------------------------------------------------------------------------
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