1GCJ-DBTOOL(1)                         GNU                        GCJ-DBTOOL(1)
2
3
4

NAME

6       gcj-dbtool - Manipulate class file mapping databases for libgcj
7

SYNOPSIS

9       gcj-dbtool OPTION DBFILE [MORE] ...
10
11       gcj-dbtool [-0] [-] [-n] [-a] [-f]
12         [-t] [-l] [-p [LIBDIR]]
13         [-v] [-m] [--version] [--help]
14

DESCRIPTION

16       "gcj-dbtool" is a tool for creating and manipulating class file mapping
17       databases.  "libgcj" can use these databases to find a shared library
18       corresponding to the bytecode representation of a class.  This func‐
19       tionality is useful for ahead-of-time compilation of a program that has
20       no knowledge of "gcj".
21
22       "gcj-dbtool" works best if all the jar files added to it are compiled
23       using "-findirect-dispatch".
24
25       Note that "gcj-dbtool" is currently available as "preview technology".
26       We believe it is a reasonable way to allow application-transparent
27       ahead-of-time compilation, but this is an unexplored area.  We welcome
28       your comments.
29

OPTIONS

31       -n DBFILE [SIZE]
32           This creates a new database.  Currently, databases cannot be
33           resized; you can choose a larger initial size if desired.  The
34           default size is 32,749.
35
36       -a DBFILE JARFILE LIB
37       -f DBFILE JARFILE LIB
38           This adds a jar file to the database.  For each class file in the
39           jar, a cryptographic signature of the bytecode representation of
40           the class is recorded in the database.  At runtime, a class is
41           looked up by its signature and the compiled form of the class is
42           looked for in the corresponding shared library.  The -a option will
43           verify that LIB exists before adding it to the database; -f skips
44           this check.
45
46       [-][-0] -m DBFILE DBFILE,[DBFILE]
47           Merge a number of databases.  The output database overwrites any
48           existing database.  To add databases into an existing database,
49           include the destination in the list of sources.
50
51           If - or -0 are used, the list of files to read is taken from stan‐
52           dard input instead of the command line.  For -0, Input filenames
53           are terminated by a null character instead of by whitespace.  Use‐
54           ful when arguments might contain white space.  The GNU find -print0
55           option produces input suitable for this mode.
56
57       -t DBFILE
58           Test a database.
59
60       -l DBFILE
61           List the contents of a database.
62
63       -p  Print the name of the default database.  If there is no default
64           database, this prints a blank line.  If LIBDIR is specified, use it
65           instead of the default library directory component of the database
66           name.
67
68       --help
69           Print a help message, then exit.
70
71       --version
72       -v  Print version information, then exit.
73

SEE ALSO

76       Copyright (c) 2001, 2002, 2003, 2004, 2005 Free Software Foundation,
77       Inc.
78
79       Permission is granted to copy, distribute and/or modify this document
80       under the terms of the GNU Free Documentation License, Version 1.2 or
81       any later version published by the Free Software Foundation; with the
82       Invariant Sections being "GNU General Public License", the Front-Cover
83       texts being (a) (see below), and with the Back-Cover Texts being (b)
84       (see below).  A copy of the license is included in the man page
85       gfdl(7).
86
87       (a) The FSF's Front-Cover Text is:
88
89            A GNU Manual
90
91       (b) The FSF's Back-Cover Text is:
92
93            You have freedom to copy and modify this GNU Manual, like GNU
94            software.  Copies published by the Free Software Foundation raise
95            funds for GNU development.
96
97
98
99gcc-4.1.2                         2007-09-25                     GCJ-DBTOOL(1)
Impressum