GNU Info

Info Node: (gcj-300.info)Invoking gcjh

(gcj-300.info)Invoking gcjh


Next: Invoking jv-scan Prev: Compatibility Up: Top
Enter node , (file) or (file)node

Invoking gcjh
*************

   The `gcjh' program is used to generate header files from class
files.  It can generate both CNI and JNI header files, as well as stub
implementation files which can be used as a basis for implementing the
required native methods.

`-stubs'
     This causes `gcjh' to generate stub files instead of header files.
     By default the stub file will be named after the class, with a
     suffix of `.cc'.  In JNI mode, the default output file will have
     the suffix `.c'.

`-jni'
     This tells `gcjh' to generate a JNI header or stub.  By default,
     CNI headers are generated.

`-add TEXT'
     Inserts TEXT into the class body.  This is ignored in JNI mode.

`-append TEXT'
     Inserts TEXT into the header file after the class declaration.
     This is ignored in JNI mode.

`-friend TEXT'
     Inserts TEXT into the class as a `friend' declaration.  This is
     ignored in JNI mode.

`-prepend TEXT'
     Inserts TEXT into the header file before the class declaration.
     This is ignored in JNI mode.

`--classpath=PATH'
`--CLASSPATH=PATH'
`-IDIRECTORY'
`-d DIRECTORY'
`-o FILE'
     These options are all identical to the corresponding `gcj' options.

`-o FILE'
     Sets the output file name.  This cannot be used if there is more
     than one class on the command line.

`-td DIRECTORY'
     Sets the name of the directory to use for temporary files.

`-M'
     Print all dependencies to stdout; suppress ordinary output.

`-MM'
     Print non-system dependencies to stdout; suppress ordinary output.

`-MD'
     Print all dependencies to stdout.

`-MMD'
     Print non-system dependencies to stdout.

`--help'
     Print help about `gcjh' and exit.  No further processing is done.

`--version'
     Print version information for `gcjh' and exit.  No further
     processing is done.

`-v, --verbose'
     Print extra information while running.

   All remaining options are considered to be names of classes.


automatically generated by info2www version 1.2.2.9