Diffstat (limited to 'doc')
2 files changed, 94 insertions, 2 deletions
@@ -1,4 +1,4 @@
-.TH MC2 1
+.TH MC 1
@@ -28,7 +28,7 @@ The following architectures are currently supported:
-The compiler options are as follows:
+The compiler options are:
.B -d [flTri]
diff --git a/doc/muse.1 b/doc/muse.1
new file mode 100644
@@ -0,0 +1,92 @@
+.TH MUSE 1
+The 'muse' tool takes as input a Myrddin source file and generates
+a usefile from it. A usefile collects definitions exported from the
+package specifications in Myrddin source code, and makes them available
+for other programs to include with a 'use' statement.
+It can also merge together a number of usefiles into one larger usefile
+including all of the exported symbols. If an output file name is not given,
+and we are not merging usefiles, then an input file named
+will have a usefile named
+If the filename does not end with the suffix
+then the suffix
+will simply be appended to it.
+The muse program is architecture independent, and a usefile generated
+on one architecture will work with another. However, the format of the
+generated file is not stable, and is not guaranteed to work across
+The muse options are:
+.B -d [flTri]
+Prints debugging dumps. Additional options may be given to give more
+debugging information for specific intermediate states of the compilation.
+Prints 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
+any options, the search path defaults to /usr/include/myr.
+.B -o output-file
+Specifies that the generated usefile should be named
+Print a summary of the symbols exported from the usefile that is specified.
+ muse foo.myr
+ muse -o bar.use bar-system-version.myr
+ muse -mo library foo.use bar.use
+The source for muse is available from
+and lives in the
+directory within the source tree.
+.SH SEE ALSO
+There is insufficient checking and validation done on usefiles.
+The file format is unstable, and not at all compact.
+This utility should not exist. Instead, the compiler should put the
+exported symbol information into the object file or library directly.
+The file format is not closed under concatentation.