a quicky about gcj command line

Bryce McKinlay bryce@waitaki.otago.ac.nz
Tue Jan 22 19:02:00 GMT 2002


Nic Ferrier wrote:

>Is there any way to just get the gcj options from the cmd line?
>
>Since gcj is just a symlink to gcc one always get's the main gcc
>message. I realise I can get all sub helps by doing:
>
>   gcc -v --help
>
>but that's way too much information.
>
>Is it possible to do something like this:
>
>  gcj -vgcj --help
>
>
>In fact I think it's pretty poor that gcc doesn't pick up the name
>it's being called by and work out what help to return (though I think
>someone did try to explain why that couldn't work).
>
>
>I know this is a silly thing, but it's just such a pain!
>
Yeah, I agree. What I'd like to see is "gcj --help" say something like 
"Use --help -f for help on front-end options, --help -m for 
target-specific options, --help -l for linking options" etc. The "--help 
-f" or whatever would only show options which are applicable to the 
given front end, so for gcj it would get you the generic options as well 
as the Java specific ones, but not the C and C++ specific options. This 
could greatly improve the usability of the driver!

regards

Bryce.




More information about the Java mailing list