This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: gcj and `-ffilelist-file'


When I run the libjava test suite, I see this:

    spawn /x1/egcs/build/gcc/jv-scan --encoding=UTF-8 /x1/egcs/gcc/libjava/testsuite/libjava.lang/update_outer.java --print-main 
    [ ... voluminous libtool output ... ]
    cc1: Unrecognized option `-ffilelist-file'

I've seen this reported, but only today did I see it myself and
discover how to reproduce it.  It happens when you link a Java program
consisting of a number of files.

The appended patch fixes the problem.  The branch needs this too.  Ok?

2001-07-12  Tom Tromey  <tromey@redhat.com>

	* jvspec.c (jvgenmain_spec): Remove -ffilelist-file.

Tom

Index: jvspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jvspec.c,v
retrieving revision 1.42
diff -u -r1.42 jvspec.c
--- jvspec.c 2001/05/18 18:34:51 1.42
+++ jvspec.c 2001/07/13 04:22:23
@@ -64,6 +64,7 @@
 		   %{<fclasspath*} %{<fCLASSPATH*} %{<foutput-class-dir}\
 		   %{<fuse-divide-subroutine} %{<fno-use-divide-subroutine}\
 		   %{<fcheck-references} %{<fno-check-references}\
+		   %{<ffilelist-file}\
 		   %{f*} -fdollars-in-identifiers\
 		   %{aux-info*}\
 		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]