This is the mail archive of the gcc-bugs@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]

gcc --help -v prints cpp help instead of cpp+cc1 help


Hello,

The subjects says it all:

gcc --help -v prints cpp help instead of cpp+cc1 help

This happened when the cpp was included in the cc1 code.
The function cpp_handle_option in cppinit.c does 'exit (0)' after
printing the help. This function should problably use return.
The problem is that this fails if the preprocessor is compiled standalone.
A more clever method to solve this must be found.
The same problem is also present for --target-help and --version.

	Herman.

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