gcjh-4.2

NAME

gcjh - - generate header files from Java class files

SYNOPSIS

gcjh [\s-1OPTIONS\s0]... \s-1CLASS\s0...

DESCRIPTION

The CWgcjh program is used to generate header files from class files. It can generate both \s-1CNI\s0 and \s-1JNI\s0 header files, as well as stub implementation files which can be used as a basis for implementing the required native methods. It is similar to CWjavah but has slightly different command line options, and defaults to \s-1CNI\s0.

OPTIONS

See CWjavah for a full description; this page only lists the additional options provided by CWgcjh.
\s-1CNI\s0 text options
"-add Insert text into class body.
"-append Append text after class declaration.
"-friend Insert text as a CWfriend declaration.
"-prepend Insert text before start of class.
Compatibility options (unused)
"-td
"-M"
"-MM"
"-MD"
"-MMD"
Unused compatibility option.
Standard options:
"-help" Print help text, then exit.
"-version" Print version number, then exit.
"-J\s-1OPTION\s0" Pass argument to the Java runtime.

SEE ALSO

javac(1), javah(1), ...