This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Re: GCJ Compiler error building current CVS trees


Jeff> Well, it looks like the C front-end is being called with
Jeff> -fuse-divide-subroutine which isn't any option I'm aware of.
Jeff> I'd put my money that it's a bug on the java side.

-fuse-divide-subroutine is a Java option.
This bug occurs because we have %{f*} in the "jvgenmain" spec (see
gcc/java/jvspec.c).  (gcj can generate a C program and then compile
it; this is how we generate a "main" when given the --main option.)

I'm not entirely sure how to fix this.  Presumably some of the -f
options given to gcj should be passed down to cc.  I don't see how to
filter them except to list all of the C front end's -f options
explicitly.  (Which, of course, I don't want to do.)

Any advice?

Tom

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