This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gij and -cp/-classpath
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: GCC-Java <java at gcc dot gnu dot org>
- Date: 09 Apr 2002 13:57:32 -0600
- Subject: Re: gij and -cp/-classpath
- References: <E78A8EF7-4BE7-11D6-A8FB-000393122612@physics.uc.edu>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Pinski <pinskia@physics.uc.edu> writes:
Andrew> Would you accept a patch for this?
Yes, definitely.
Andrew> Also would some give an hit of how to do it?
At one point Nic was revamping the argument processing, but I don't
know the status of this.
Meanwhile you can do it by editing libjava/gij.cc. Any option will
require new code in the help() function plus some processing in main().
The class path is actually set in natSystem.cc. Getting the
information from gij to here is a little tricky. Maybe a new global
is best.
You also need to figure out how the new option interacts with the
CLASSPATH environment variable and with `-jar' mode.
Andrew> Mainly the work needs to be done so `gij' would work like
Andrew> `java'.
This is definitely a goal of ours. Any work towards this is
appreciated.
Andrew> I would need help on the documentation.
The docs are in gcc/java/gcj.texi. If you can write text describing
what the new option(s) do, I will add the texinfo markup for you.
Tom