GCJH(1) GNU GCJH(1)
gcjh - generate header files from Java class files
gcjh [-stubs] [-jni]
[-add text] [-append text] [-friend text]
[-Idir...] [-d dir...]
[-o file] [-td dir]
[-M] [-MM] [-MD] [-MMD]
[--version] [--help] [-v] [--verbose]
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.
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.
This tells "gcjh" to generate a JNI header or stub. By default, CNI headers are gen-
Inserts text into the class body. This is ignored in JNI mode.
Inserts text into the header file after the class declaration. This is ignored in JNI
Inserts text into the class as a "friend" declaration. This is ignored in JNI mode.
Inserts text into the header file before the class declaration. This is ignored in
These options are all identical to the corresponding gcj options.
Sets the output file name. This cannot be used if there is more than one class on the
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.
Print non-system dependencies to stdout.
Print help about "gcjh" and exit. No further processing is done.
Print version information for "gcjh" and exit. No further processing is done.
Print extra information while running.
All remaining options are considered to be names of classes.
gcc(1), gcj(1), gij(1), jv-scan(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU Free Documentation License, Version 1.1 or any later version published by the Free
Software Foundation; with the Invariant Sections being ``GNU General Public License'', the
Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see
below). A copy of the license is included in the man page gfdl(7).
gcc-3.2.2 2003-02-25 GCJH(1)