Commit 38467a0d by Tom Tromey Committed by Tom Tromey

re PR java/15578 (gcj doesn't support -extdirs)

	PR java/15578:
	* lang.opt (--extdirs): Document.
	* jvspec.c (lang_specific_driver): Recognize -encoding and
	-extdirs.

From-SVN: r88991
parent e89f2821
2004-10-13 Tom Tromey <tromey@redhat.com>
PR java/15578:
* lang.opt (--extdirs): Document.
* jvspec.c (lang_specific_driver): Recognize -encoding and
-extdirs.
2004-10-06 Ulrich Weigand <uweigand@de.ibm.com> 2004-10-06 Ulrich Weigand <uweigand@de.ibm.com>
* parse.y (issue_warning_error_from_context): Use va_list * * parse.y (issue_warning_error_from_context): Use va_list *
......
/* Specific flags and argument handling of the front-end of the /* Specific flags and argument handling of the front-end of the
GNU compiler for the Java(TM) language. GNU compiler for the Java(TM) language.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -324,9 +324,11 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, ...@@ -324,9 +324,11 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
saw_o = 1; saw_o = 1;
quote = argv[i]; quote = argv[i];
} }
else if (strcmp(argv[i], "-classpath") == 0 else if (strcmp (argv[i], "-classpath") == 0
|| strcmp(argv[i], "-bootclasspath") == 0 || strcmp (argv[i], "-bootclasspath") == 0
|| strcmp(argv[i], "-CLASSPATH") == 0) || strcmp (argv[i], "-CLASSPATH") == 0
|| strcmp (argv[i], "-encoding") == 0
|| strcmp (argv[i], "-extdirs") == 0)
{ {
quote = argv[i]; quote = argv[i];
added -= 1; added -= 1;
...@@ -507,7 +509,9 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, ...@@ -507,7 +509,9 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
if (strcmp (argv[i], "-classpath") == 0 if (strcmp (argv[i], "-classpath") == 0
|| strcmp (argv[i], "-bootclasspath") == 0 || strcmp (argv[i], "-bootclasspath") == 0
|| strcmp (argv[i], "-CLASSPATH") == 0) || strcmp (argv[i], "-CLASSPATH") == 0
|| strcmp (argv[i], "-encoding") == 0
|| strcmp (argv[i], "-extdirs") == 0)
{ {
arglist[j] = concat ("-f", argv[i]+1, "=", argv[i+1], NULL); arglist[j] = concat ("-f", argv[i]+1, "=", argv[i+1], NULL);
i++; i++;
......
...@@ -132,6 +132,7 @@ Java Joined RejectNegative ...@@ -132,6 +132,7 @@ Java Joined RejectNegative
fextdirs= fextdirs=
Java Joined RejectNegative Java Joined RejectNegative
--extdirs=<path> Set the extension directory path
ffilelist-file ffilelist-file
Java Var(flag_filelist_file) Java Var(flag_filelist_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment