Next: Invoking gjnih, Previous: Compatibility, Up: Top
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
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
gcjh
to generate a JNI header or stub. By default,
CNI headers are generated.
-force
gcjh
to write the output file.
-old
-trace
-J
option-add
text-append
text-friend
textfriend
declaration.
This is ignored in JNI mode.
-prepend
text--classpath=
path--CLASSPATH=
path--bootclasspath=
path-I
directory-d
directory-o
file-o
file-td
directory-M
-MM
-MD
-MMD
--help
gcjh
and exit. No further processing is done.
--version
gcjh
and exit. No further
processing is done.
-v, --verbose
All remaining options are considered to be names of classes.