path: root/doc
diff options
authorOri Bernstein <>2017-02-17 23:21:22 -0800
committerOri Bernstein <>2017-02-17 23:32:19 -0800
commitd626bfc93b1df80a39432a0077cc6febf056fee6 (patch)
tree37e52be6d7e2b4acdfccf416cd0ef1f4e62139eb /doc
parentc17e4784c7b883c05f456b1038cd8a39ce58e57d (diff)
Update the mc manpage.
Diffstat (limited to 'doc')
1 files changed, 17 insertions, 8 deletions
diff --git a/doc/6m.1 b/doc/6m.1
index abc555c..f04090c 100644
--- a/doc/6m.1
+++ b/doc/6m.1
@@ -3,15 +3,14 @@
.B 6m
-.I -[hioS]
+.I -[?hioSG9d]
.I [file...]
-The ?m family of compilers compile Myrddin source into object files
-for the corresponding architecture. There is one compiler for each
-architecture supported, with a unique name. By default, if the input
-file is named
+The ?m compiler family compiles Myrddin source into object files
+for the corresponding architecture. Each architecture gets its own
+compler. Unless otherwise specified, if the input file is named
.I filename.myr
then the the object file that is generated will be named
.I filename.o.
@@ -22,7 +21,7 @@ tools like 'mbld'.
If the filename does not end with the suffix
.I .myr
-then the suffix
+then the object suffix
.I .o
will simply be appended to it.
@@ -36,12 +35,12 @@ x86-64
The compiler options are:
-.B -d [flTri]
+.B -d [flTriu]
Print debugging dumps. Additional options may be given to give more
debugging information for specific intermediate states of the compilation.
-.B -h
+.B -h, -?
Print a summary of the available options.
@@ -54,11 +53,21 @@ any options, the search path defaults to /usr/include/myr.
.B -o output-file
Specify that the generated code should be placed in
+.I output-file
+instead of the default location.
.B -S
Generate assembly code along with the object file.
+.B -G
+Generate assembly in the Gnu As syntax.
+.B -9
+Generate assembly in the Plan 9 syntax.
6m foo.myr