[m-dev.] for review: minor fixes to scripts/c2init.in

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Apr 21 20:25:07 AEST 1999


Estimated hours taken: 0.25

scripts/c2init.in:
	Include the grade options in the help message.
	Include the file `final_grade_options.sh-subr' so
	that options will get properly post-processed.

Index: scripts/c2init.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/c2init.in,v
retrieving revision 1.22
diff -u -r1.22 c2init.in
--- c2init.in	1999/03/21 04:40:31	1.22
+++ c2init.in	1999/04/21 10:22:09
@@ -50,6 +50,22 @@
 		hand-coded C code with \`INIT' comments, rather than
 		containing only C code that was automatically generated
 		by the Mercury compiler.)
+	-s <grade>, --grade <grade>
+	--asm-labels
+	--gcc-non-local-gotos
+	--gcc-global-registers
+	--gc {conservative, accurate, none}
+	-p, --profiling
+	--profile-calls
+	--profile-time
+	--profile-memory
+	--debug
+	--use-trail
+	--args {simple, compact}
+	--pic-reg
+		See the documentation in the \"Invocation\" section
+		of the Mercury User's Guide."
+
 Environment variables:
 	MERCURY_MOD_LIB_DIR, MERCURY_MOD_LIB_MODS, MERCURY_MKINIT.
 "
@@ -127,6 +143,9 @@
 	esac
 	shift
 done
+
+# include the file `final_grade_options.sh-subr'
+ at FINAL_GRADE_OPTIONS@
 
 case $require_tracing in
 	true)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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