re PR java/15578 (gcj doesn't support -extdirs)
authorTom Tromey <tromey@redhat.com>
Wed, 13 Oct 2004 17:04:57 +0000 (17:04 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 13 Oct 2004 17:04:57 +0000 (17:04 +0000)
PR java/15578:
* lang.opt (--extdirs): Document.
* jvspec.c (lang_specific_driver): Recognize -encoding and
-extdirs.

From-SVN: r88991

gcc/java/ChangeLog
gcc/java/jvspec.c
gcc/java/lang.opt

index fd0055abff37974593731d4dce4776a0d32c2a5e..d599add7f66e38ebfba44dce71a4742ad6f44a24 100644 (file)
@@ -1,3 +1,10 @@
+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>
 
        * parse.y (issue_warning_error_from_context): Use va_list *
index 83bf28183a397d793f6aa63cff34b29aade3ae98..940cd8c9fff6134ead7d21121774dac051771f03 100644 (file)
@@ -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, 2002, 2003
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -324,9 +324,11 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
                saw_o = 1;
              quote = argv[i];
            }
-         else if (strcmp(argv[i], "-classpath") == 0
-                  || strcmp(argv[i], "-bootclasspath") == 0
-                  || strcmp(argv[i], "-CLASSPATH") == 0)
+         else if (strcmp (argv[i], "-classpath") == 0
+                  || strcmp (argv[i], "-bootclasspath") == 0
+                  || strcmp (argv[i], "-CLASSPATH") == 0
+                  || strcmp (argv[i], "-encoding") == 0
+                  || strcmp (argv[i], "-extdirs") == 0)
            {
              quote = argv[i];
              added -= 1;
@@ -507,7 +509,9 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
 
       if (strcmp (argv[i], "-classpath") == 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);
          i++;
index 2711193e46ef023f5f23760d7f7258446b3ef6a7..0e4ffcfd994225590043b009880cdd9ffd19508a 100644 (file)
@@ -132,6 +132,7 @@ Java Joined RejectNegative
 
 fextdirs=
 Java Joined RejectNegative
+--extdirs=<path>       Set the extension directory path
 
 ffilelist-file
 Java Var(flag_filelist_file)