This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch to gcc.c for reanmed java options
- From: Per Bothner <per at bothner dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Feb 2002 11:12:19 -0800
- Subject: patch to gcc.c for reanmed java options
Unless someone objects, I intend to check in a patch that changes
some of the options that gcj uses to search for compiiled classes.
The appended patch is the gcc.c part of the patch. I want to check
this into both the trunk and the gcc 3.1 branch.
There may be a follow-on patche soon, since we may want to add support
for Java "standard extensions" mechanism, and get it into 3.1.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
2002-02-28 Per Bothner <per@bothner.com>
* gcc.c (option_map): Suport new --bootclasspath option.
--CLASSPATH is now just an aliad for --classpath.
Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.297
diff -u -p -r1.297 gcc.c
--- gcc.c 2002/02/27 18:47:12 1.297
+++ gcc.c 2002/02/28 19:05:27
@@ -906,7 +906,8 @@ static const struct option_map option_ma
{"--assemble", "-S", 0},
{"--assert", "-A", "a"},
{"--classpath", "-fclasspath=", "aj"},
- {"--CLASSPATH", "-fCLASSPATH=", "aj"},
+ {"--bootclasspath", "-fbootclasspath=", "aj"},
+ {"--CLASSPATH", "-fclasspath=", "aj"},
{"--comments", "-C", 0},
{"--compile", "-c", 0},
{"--debug", "-g", "oj"},