[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#114216: gcc: exits successfully if there's no compiler for a language



Package: gcc
Version: 2:2.95.4-6
Severity: normal

When one invokes the compiler driver on a language (e.g. Ada) for which
there is no front end installed, it exits successfully, which causes Make
to think that the compilation succeeded.  Observe:

$ touch ada.ads
$ gcc -c -v ada.ads ; echo $?
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010902 (Debian prerelease)
gcc: ada.ads: Ada compiler not installed on this system
0

This bug is present in gcc 3.0 as well.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux taltos 2.2.20-pre3-pipefix #1 Wed Aug 1 14:05:04 PDT 2001 i686 unknown

Versions of the packages gcc depends on:
ii  cpp            2.95.4-6       The GNU C preprocessor.
ii  cpp-2.95       2.95.4-0.01090 The GNU C preprocessor.
ii  gcc-2.95       2.95.4-0.01090 The GNU C compiler.



Reply to: