01.09.2014 Views

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

The Linux Development Platform Configuring, Using, and ... - Classes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CH09.fm Page 273 Monday, October 7, 2002 9:18 PM<br />

Jikes for Java 273<br />

<strong>The</strong> Jikes FAQ can also be found on the above-mentioned web site. Since Jikes is a comm<strong>and</strong><br />

line compiler, it can be used in Makefiles for large projects. <strong>The</strong> compiler is invoked using<br />

the jikes comm<strong>and</strong>. <strong>The</strong> following comm<strong>and</strong> lists available options with Jikes:<br />

[root@conformix jikes-1.15]# jikes<br />

Jikes Compiler<br />

(C) Copyright IBM Corp. 1997, 2001.<br />

- Licensed Materials - Program Property of IBM - All Rights<br />

Reserved.<br />

use: jikes [-bootclasspath path][-classpath path][-d dir][-<br />

debug][-depend|-Xdepend][-deprecation][-encoding encoding][-<br />

extdirs path][-g][-nowarn][-nowrite][-O][-sourcepath path][-<br />

verbose][-<br />

Xstdout][++][+B][+c][+OLDCSO][+D][+DR=filename][+E][+F][+Kname<br />

=TypeKeyWord][+M][+P][+Td...d][+U][+Z] file.java...<br />

-bootclasspath path prepend path to CLASSPATH<br />

-classpath path use path for CLASSPATH<br />

-d dir write class files in directory dir<br />

-debug<br />

no effect (recognized for<br />

compatibility)<br />

-depend | -Xdepend recompile all used classes<br />

-deprecation report uses of deprecated features<br />

-encoding encoding use specified encoding to read source<br />

files<br />

-extdirs path prepend all zip files in path to<br />

CLASSPATH<br />

-g debug (generate LocalVariableTable)<br />

-nowarn<br />

do not issue warning messages<br />

-nowrite<br />

do not write any class files<br />

-O do not write LineNumberTable<br />

-sourcepath path also search for source files in path<br />

-verbose<br />

list files read <strong>and</strong> written<br />

-Xstdout<br />

redirect output listings to stdout<br />

++ compile in incremental mode<br />

+B do not invoke bytecode generator<br />

+c do not discard comments from lexer<br />

output<br />

+OLDCSO<br />

perform original Jikes classpath order<br />

for compatibility<br />

+D report errors immediately in emacs-form<br />

without buffering<br />

+DR=filename generate dependence report in filename<br />

+E list errors in emacs-form<br />

+F do full dependence check except for Zip<br />

<strong>and</strong> Jar files

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!