1GCJ-DBTOOL(1) GNU GCJ-DBTOOL(1)
2
3
4
6 gcj-dbtool - Manipulate class file mapping databases for libgcj
7
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
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
19 functionality is useful for ahead-of-time compilation of a program that
20 has 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
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
52 standard input instead of the command line. For -0, Input
53 filenames are terminated by a null character instead of by
54 whitespace. Useful when arguments might contain white space. The
55 GNU find -print0 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
75 gcc(1), gcj(1), gcjh(1), jcf-dump(1), gfdl(7), and the Info entries for
76 gcj and gcc.
77
79 Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free
80 Software Foundation, Inc.
81
82 Permission is granted to copy, distribute and/or modify this document
83 under the terms of the GNU Free Documentation License, Version 1.2 or
84 any later version published by the Free Software Foundation; with no
85 Invariant Sections, the Front-Cover Texts being (a) (see below), and
86 with the Back-Cover Texts being (b) (see below). A copy of the license
87 is included in the man page gfdl(7).
88
89 (a) The FSF's Front-Cover Text is:
90
91 A GNU Manual
92
93 (b) The FSF's Back-Cover Text is:
94
95 You have freedom to copy and modify this GNU Manual, like GNU
96 software. Copies published by the Free Software Foundation raise
97 funds for GNU development.
98
99
100
101gcc-4.5.1 2010-09-24 GCJ-DBTOOL(1)