Getting gcj to compile what it finds when scanning

Tom Tromey tromey@redhat.com
Mon Feb 21 16:59:00 GMT 2005


>>>>> "Andrew" == Andrew Cowie <andrew@operationaldynamics.com> writes:

Andrew> gcj does this if you are having it generate .class files (-C) and you
Andrew> give it a -d flag
Hmm, I thought it didn't do this.
Andrew> but for reasons that were discussed about 4 years ago, gcj -d
Andrew> -c does not follow that behaviour; although it will scan the
Andrew> classpath, it will only compile source files that were listed
Andrew> on the command line.
Yeah. This is related to PR 1308, one of our oldest PRs.
Andrew> Is having gcj automatically compile necessary complements
Andrew> hypothetically possible, or does it violate some ancient
Andrew> deeply held religious superstition? If it were to be doable, I
Andrew> don't suppose there is any chance that it might sneak its way
Andrew> into GCJ-4?
I think the problem is that this is something that would have to be
handled by the gcc driver, say by invoking jc1 and as multiple times.
I don't think this can be done purely in gcj.
It is almost certainly too late to get this in 4.0. I suppose you
could try though :-)
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /