This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Properties
>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:
Jeff> Perhaps we could also have a utility that would bootstrap
Jeff> libgcj, set properties and GC parameters, then dynamically load
Jeff> an application compiled by gcj as a shared object, find and
Jeff> execute the main() class. Maybe call it `gcjrun':
If the class loader could load .so's, then we could just use gij for
this.
Jeff> That's more-or-less equivalent to what the `java' interpreter
Jeff> does now. By combining this with the capability of binding
Jeff> properties into an executable, we could have the best of both
Jeff> worlds...
One other idea is to have -D options to gcj (at link time -- which is
a bit weird, but since we already sometimes require -L at compile time
it isn't out of the question) be compiled in to the resulting
executable. This could easily be done by passing them down to
jvgenmain.
Tom