[m-rev.] trivial diff: document why the runtime is compiled with debugging enabled

Julien Fischer juliensf at cs.mu.OZ.AU
Sat Feb 26 17:21:34 AEDT 2005


Estimated hours taken: 0.1
Branches: main, release

runtime/Mmakefile:
	Document why the runtime is compiled with C debugging enabled.

	s/mispelt/misspelt/

Julien.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/Mmakefile,v
retrieving revision 1.119
diff -u -r1.119 Mmakefile
--- Mmakefile	15 Feb 2005 05:22:31 -0000	1.119
+++ Mmakefile	26 Feb 2005 06:14:55 -0000
@@ -211,6 +211,11 @@
 #-----------------------------------------------------------------------------#

 CFLAGS	+= $(DLL_CFLAGS) -DMERCURY_BOOTSTRAP_H -DMERCURY_CONF_BOOTSTRAP_H
+
+# We intentionally compile with C level debugging enabled so that problems
+# in the runtime can be debugged without having to recompile it.  The cost
+# of doing this is negligible.  The runtime can be compiled without
+# debugging enabled by removing the `--c-debug' flag below.
 MGNUCFLAGS	+= --c-debug --no-ansi

 #-----------------------------------------------------------------------------#
@@ -458,7 +463,7 @@

 mercury_dotnet.cs : mercury_dotnet.cs.in
 	CONFIG_FILES=$@ CONFIG_HEADERS= $(MERCURY_DIR)/config.status
-	# check to ensure there were no mispelt autoconf variable names
+	# check to ensure there were no misspelt autoconf variable names
 	if grep -n '[^$$]@.*@' $@; then false; else true; fi

 #-----------------------------------------------------------------------------#

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