aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2002-03-03 00:35:11 -0800
committerPer Bothner <bothner@gcc.gnu.org>2002-03-03 00:35:11 -0800
commit2a85660dc27b7059ea083a775a99a0c206abeee4 (patch)
tree2d5ffb4752a4b455256e860f15ecb662d91ac6e9 /gcc/java/jvspec.c
parentc26a6db811ab9dd1dd94c1b410cb93871d6d1a47 (diff)
downloadgcc-2a85660dc27b7059ea083a775a99a0c206abeee4.zip
gcc-2a85660dc27b7059ea083a775a99a0c206abeee4.tar.gz
gcc-2a85660dc27b7059ea083a775a99a0c206abeee4.tar.bz2
Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath. From-SVN: r50247
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r--gcc/java/jvspec.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index 202c7c8..58aa1c6 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -1,6 +1,6 @@
/* Specific flags and argument handling of the front-end of the
GNU compiler for the Java(TM) language.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -66,8 +66,8 @@ static const char jvgenmain_spec[] =
%{<femit-class-file} %{<femit-class-files} %{<fencoding*}\
%{<fuse-boehm-gc} %{<fhash-synchronization} %{<fjni}\
%{<findirect-dispatch} \
- %{<fno-store-check}\
- %{<fclasspath*} %{<fCLASSPATH*} %{<foutput-class-dir}\
+ %{<fno-store-check} %{<foutput-class-dir}\
+ %{<fclasspath*} %{<fCLASSPATH*} %{<fbootclasspath*}\
%{<fuse-divide-subroutine} %{<fno-use-divide-subroutine}\
%{<fcheck-references} %{<fno-check-references}\
%{<ffilelist-file}\
@@ -329,6 +329,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
quote = argv[i];
}
else if (strcmp(argv[i], "-classpath") == 0
+ || strcmp(argv[i], "-bootclasspath") == 0
|| strcmp(argv[i], "-CLASSPATH") == 0)
{
quote = argv[i];
@@ -522,6 +523,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
}
if (strcmp (argv[i], "-classpath") == 0
+ || strcmp (argv[i], "-bootclasspath") == 0
|| strcmp (argv[i], "-CLASSPATH") == 0)
{
arglist[j] = concat ("-f", argv[i]+1, "=", argv[i+1], NULL);