This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc driver not returning an error code when compiling a file in a language with no installed back-end
- To: gcc at gcc dot gnu dot org
- Subject: gcc driver not returning an error code when compiling a file in a language with no installed back-end
- From: <guerby at acm dot org>
- Date: Sun, 7 Oct 2001 11:41:40 +0200
- Reply-to: guerby at acm dot org
I made a mistake in my PATH setting, ended up with a driver without
Ada support, and noticed the Makefile was going on, gcc priting "Ada
compiler not installed on this system" but returning 0 as exit code. I
looked at the current gcc.c code, and the situation is detected by
this_file_error, but this is not used for the exit code as far as I
can say. Is this behaviour intentional?
--
Laurent