This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: build regression
Tom Tromey wrote:-
> >>>>> "Neil" == Neil Booth <neil@daikokuya.co.uk> writes:
>
> [ "gcj -C" == "javac" ]
>
> Neil> It is, provided -C has the same requirements as it does for the C
> Neil> front ends, i.e. that it doesn't take an option. I don't know
> Neil> what you mean by javac, but it might be that this is handled in
> Neil> the driver and the front ends never know.
>
> The problem isn't with the -C option per se. The problem is whether
> all the options javac takes will be available for similar use by gcj.
> This is a potential problem with the global command-line options
> approach. However, there are alternative solutions available, like
> writing our own "javac" driver that just invokes gcj with renamed
> options.
Ah, I see. That might be an issue. Let me know if you see any
potential conflicts.
Neil.