PATCH to build libgij
Per Bothner
per@bothner.com
Fri Jun 25 01:57:00 GMT 2004
This patch creates a new libgij library.
I'll add documentation before I check this in (assuming
the ideas doesn't get shot down), but the idea is this:
When linking a gcj-compiled executable, you normally have
to specify a --main flag. This patch allows you to instead
use a -lgij flag, which links in the 'main' function from gij.cc.
The resulting executable can be statically or dynamically linked,
and supports the command-line flags of gij. Thus you can choose
at run-time which Java main method to invoke, and you can pass
other flags, such as -D flags.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libgij.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040625/ab45cb03/attachment.ksh>
More information about the Java-patches
mailing list