summaryrefslogtreecommitdiff
path: root/doc/man/man1/scalac.1
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-05-02 12:47:58 +0000
committermichelou <michelou@epfl.ch>2005-05-02 12:47:58 +0000
commitde8fc1e7deadeb4720dd3103ce06398fc68e3c08 (patch)
tree703ec2719aac2e8dd739d730f2d5144c42424de0 /doc/man/man1/scalac.1
parent74b9d7323476bba57e32c13baeff6b3c7233ffc7 (diff)
downloadscala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.tar.gz
scala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.tar.bz2
scala-de8fc1e7deadeb4720dd3103ce06398fc68e3c08.zip
*** empty log message ***
Diffstat (limited to 'doc/man/man1/scalac.1')
-rw-r--r--doc/man/man1/scalac.199
1 files changed, 51 insertions, 48 deletions
diff --git a/doc/man/man1/scalac.1 b/doc/man/man1/scalac.1
index a33acbd557..fd4748b2b1 100644
--- a/doc/man/man1/scalac.1
+++ b/doc/man/man1/scalac.1
@@ -76,30 +76,61 @@ standard built-in classes, such as "scala.List").
\fB\-extdirs\fR <\fIdirs\fR>
Override location of installed extensions.
.TP
-\fB\-d\fR <directory>
+\fB\-d\fR <\fIdirectory\fR>
Specify where to place generated class files.
.TP
\fB\-encoding\fR <\fIencoding\fR>
Specify character encoding used by source files.
.TP
\fB\-separate:\fR<\fIseparate\fR>
-Read symbol files for separate compilation: (yes, no).
+Read symbol files for separate compilation: (\fIyes\fR, \fIno\fR).
.TP
\fB\-target:\fR<\fItarget\fR>
-Specify which backend to use (jvm, msil).
+Specify which backend to use (\fIjvm\fR, \fImsil\fR).
.TP
-\fB\-r\fR <assembly files>
-Assemblies referenced by the source program (only relevant with
+\fB\-r\fR <\fIassembly files\fR>
+CLR Assemblies referenced by the source program (only relevant with
option '-target:msil').
.TP
-\fB\-o\fR <assembly name>
-Name of the output assembly (only relevant with '-target:msil').
+\fB\-o\fR <\fIassembly name\fR>
+Name of the output assembly (only relevant with option '-target:msil').
.TP
\fB\-version\fR
Print product version and exit.
.TP
\fB\-? -help\fR
Print a synopsis of standard options.
+.SS Non-Standard Options
+.TP
+\fB\-Xshortname\fR
+Display short file names in error reports.
+.TP
+\fB\-Xmarkup\fR
+No effect, only for compatibility.
+.TP
+\fB\-Xnewmatch\fR
+New pattern matching.
+.TP
+\fB\-XpreserveWS\fR
+Don't trim whitespace in XML literals.
+.TP
+\fB\-XrootClass\fR <\fIclass\fR>
+Specify the root class of the global application.
+.TP
+\fB\-XappFile\fR <\fIfile\fR>
+Specify the filename where to dump the whole-application inferred from the rootclass.
+.TP
+\fB\-XdotFile\fR <\fIfile\fR>
+Specify the filename where to print the AST in graphviz dot format.
+.TP
+\fB\-Xrta\fR
+Perform Rapid Type analysis for method call resolution.
+.TP
+\fB\-Xinline\fR
+Inline method calls that can be resolved statically.
+.TP
+\fB\-Xrtt\fR
+Enable run-time types.
.SS Debug Options
.TP
.B \-debug
@@ -109,13 +140,13 @@ Output debugging messages.
Explain type errors in more detail.
.TP
\fB\-uniqid\fR
-Print identifiers with unique names (debugging option).
+Print identifiers with unique names.
.TP
\fB\-types\fR
-Print tree types (debugging option).
+Print tree types.
.TP
\fB\-prompt\fR
-Display a prompt after each error (debugging option).
+Display a prompt after each error.
.TP
\fB\-noimports\fR
Compile without any implicit imports.
@@ -124,7 +155,7 @@ Compile without any implicit imports.
Compile without any implicit predefined values.
.TP
\fB\-skip:\fR<\fIphases\fR>
-Skip <phases> (see below).
+Skip <\fIphases\fR> (see below).
.TP
\fB\-check:\fR<\fIphases\fR>
Check the tree after <\fIphases\fR> (see below).
@@ -132,51 +163,20 @@ Check the tree after <\fIphases\fR> (see below).
\fB\-print:\fR<phases>
Print out program after <\fIphases\fR> (see below).
.TP
-\fB\-printer:\fR<printer>
+\fB\-printer:\fR<\fIprinter\fR>
Printer to use.
.TP
\fB\-print-file\fR <\fIfile\fR>
Specify file in which to print trees.
.TP
\fB\-graph:\fR<\fIphases\fR>
-Graph the program after <phases> (see below).
+Graph the program after <\fIphases\fR> (see below).
.TP
\fB\-stop:\fR<\fIphases\fR>
-Stop after first phase in <phases> (see below).
+Stop after first phase in <\fIphases\fR> (see below).
.TP
\fB\-log:\fR<\fIphases\fR>
Log operations in <\fIphases\fR> (see below).
-.SS Non-Standard Options
-.TP
-\fB\-Xshortname\fR
-Display short file names in error reports.
-.TP
-\fB\-Xmarkup\fR
-No effect, only for compatibility.
-.TP
-\fB\-Xnewmatch\fR
-New pattern matching.
-.TP
-\fB\-XpreserveWS\fR
-Don't trim whitespace in XML literals.
-.TP
-\fB\-XrootClass\fR <\fIclass\fR>
-Specify the root class of the global application.
-.TP
-\fB\-XappFile\fR <\fIfile\fR>
-Specify the filename where to dump the whole-application inferred from the rootclass.
-.TP
-\fB\-XdotFile\fR <\fIfile\fR>
-Specify the filename where to print the AST in graphviz dot format.
-.TP
-\fB\-Xrta\fR
-Perform Rapid Type analysis for method call resolution.
-.TP
-\fB\-Xinline\fR
-Inline method calls that can be resolved statically.
-.TP
-\fB\-Xrtt\fR
-Enable run-time types.
.SS Compilation Phases
.TP
\fIinitial\fR
@@ -252,11 +252,13 @@ matches all phases
.TP
Compile a Scala program
\fBscalac\fR HelloWorld
-.PP
.TP
-Compile a Scala program to a user-defined target directory \fBclasses\fR
+Compile a Scala program to the destination directory \fBclasses\fR
\fBscalac\fR \-d classes HelloWorld.scala
-.PP
+.TP
+Compile all Scala files found in the source directory \fBsrc\fR to the
+destination directory \fBclasses\fR
+\fBscalac\fR \-d classes src/*.scala
.\"
.\" ############################# EXIT STATUS ################################
.\"
@@ -286,6 +288,7 @@ NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.\"
.SH "SEE ALSO"
.BR scala(1),
+.BR scaladoc(1),
.BR scalaint(1),
.BR scalarun(1)
.\"