Well, you could just add "return 1" to skip_cplus_tests on that system.
But in the long run, get_compiler_info needs to be smarter.
(Really, default_target_compile needs to have a better interface,
but we can't touch that).
Perhaps we should just kill get_compiler_info and add some more
code to initialization. Have it compile and run two test programs,
one in C, and one in C++. Like this:
#include <stdio.h>
int main ()
{
#if defined(__GNUC__)
printf ("set compiler_info gcc-%d-%d\n", __GNUC__, __GNUC__MINOR__);
printf ("set gcc_compiled %d\n", __GNUC__);
else
printf ("set gcc_compiled 0\n")
#endif
}