[m-rev.] for review: document Java mmake support

Fergus Henderson fjh at cs.mu.OZ.AU
Sun Feb 24 23:10:02 AEDT 2002


Estimated hours taken: 1
Branches: main

doc/user_guide.texi:
	Document the Mmake support for the Java and .NET back-ends.

Workspace: /mnt/ceres/home/ceres/fjh/mercury
Index: doc/user_guide.texi
===================================================================
RCS file: /home/mercury1/repository/mercury/doc/user_guide.texi,v
retrieving revision 1.292
diff -u -d -r1.292 user_guide.texi
--- doc/user_guide.texi	12 Feb 2002 16:36:10 -0000	1.292
+++ doc/user_guide.texi	19 Feb 2002 14:52:20 -0000
@@ -202,9 +202,10 @@
 files associated with the module are used as date stamps;
 they are used when deciding whether the interface files need to be regenerated.
 
- at file{.c_date}, @file{.il_date}, @file{.s_date} and @file{.pic_s_date} files
-perform a similar function for @file{.c}, @file{.il}, @file{.s} and
- at file{.pic_s} files respectively. When smart recompilation
+ at file{.c_date}, @file{.il_date}, @file{.java_date},
+ at file{.s_date} and @file{.pic_s_date} files
+perform a similar function for @file{.c}, @file{.il}, @file{.java},
+ at file{.s} and @file{.pic_s} files respectively. When smart recompilation
 (@pxref{Auxiliary output options}) works out that a module
 does not need to be recompiled, the timestamp file for the
 target file is updated, and the timestamp of the target file
@@ -224,9 +225,15 @@
 
 As usual, @file{.c} files are C source code,
 @file{.h} files are C header files,
- at file{.o} files are object code,
+and @file{.o} files are object code.
 In addition, @file{.pic_o} files are object code files
 that contain position-independent code (PIC).
+ at file{.s} files and @file{.pic_s} files are assembly language.
+ at file{.java} and @file{.class} files are Java source code
+and Java bytecode respectively.
+ at file{.il} files are Microsoft Intermediate Language (MSIL) files
+for the .NET Common Language Runtime.
+ at c XXX mention .dll and .exe?
 
 @ifset aditi
 Files ending in @file{.rlo} are Aditi-RL bytecode files, which are
@@ -512,6 +519,18 @@
 with the Mercury compiler's @samp{--split-c-files} option enabled.
 For more information about @samp{--split-c-files}, see
 @ref{Output-level (LLDS -> C) optimization options}.
+
+ at item @var{main-module}.javas
+Compiles @var{main-module} to Java source files (@file{*.java}).
+
+ at item @var{main-module}.classes
+Compiles @var{main-module} to Java bytecode files (@file{*.class}).
+
+ at item @var{main-module}.ils
+Compiles @var{main-module} to MSIL files (@file{*.il})
+for the .NET Common Language Runtime.
+
+ at c XXX mention .dlls and .exe targets?
 
 @item lib at var{main-module}
 Builds a library whose top-level module is @var{main-module}.

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