gcj-dbtool
is a tool for creating and manipulating class file
mapping databases. libgcj
can use these databases to find a
shared library corresponding to the bytecode representation of a
class. This functionality is useful for ahead-of-time compilation of
a program that has no knowledge of gcj
.
gcj-dbtool
works best if all the jar files added to it are
compiled using -findirect-dispatch
.
Note that gcj-dbtool
is currently available as “preview
technology”. We believe it is a reasonable way to allow
application-transparent ahead-of-time compilation, but this is an
unexplored area. We welcome your comments.
-n
DBFILE [
SIZE]
-a
DBFILE JARFILE LIB-f
DBFILE JARFILE LIB[
-][
-0] -m
DBFILE DBFILE,[
DBFILE]
If - or -0 are used, the list of files to read is
taken from standard input instead of the command line. For
-0, Input filenames are terminated by a null character
instead of by whitespace. Useful when arguments might contain white
space. The GNU find -print0 option produces input suitable for this
mode.
-t
DBFILE-l
DBFILE-p
--help
--version
-v