Diffstat (limited to 'doc/6m.1')
1 files changed, 18 insertions, 9 deletions
@@ -3,15 +3,14 @@
-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
then the the object file that is generated will be named
@@ -22,7 +21,7 @@ tools like 'mbld'.
If the filename does not end with the suffix
-then the suffix
+then the object suffix
will simply be appended to it.
@@ -36,29 +35,39 @@ 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, -?
Print a summary of the available options.
.B -I path
Add 'path' to the search path for unquoted use statments. This option
does not affect the search path for local usefiles, which are always
-searched relative to the compiler's current working directory. Without
+searched relative to the directory containing the output file. Without
any options, the search path defaults to /usr/include/myr.
.B -o output-file
Specify that the generated code should be placed in
+instead of the default location.
Generate assembly code along with the object file.
+Generate assembly in the Gnu As syntax.
+Generate assembly in the Plan 9 syntax.