This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Installation question.
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Iain Sandoe <iain at sandoe dot co dot uk>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Sun, 12 May 2019 18:15:39 +0100
- Subject: Re: Installation question.
- References: <503172C3-9F80-445C-919A-783D2AC24107@sandoe.co.uk>
On Sun, 12 May 2019 at 15:54, Iain Sandoe wrote:
>
> Right now, we don’t install a “cc” [we install gcc] but we do install “c++” [ we also install g++, of course].
Some GNU/Linux distros do install /usr/bin/cc as a sym link to GCC.
> Some configure scripts (and one or two places in the testsuite) do try to invoke ‘cc’ which can lead to inconsistent tools being used, if a GCC install is ahead in the PATH of some other install which does provide cc.
>
> Is there a reason for this omission, or is it unintentional?
At a guess, traditional UNIX systems already had a cc, which GCC
didn't want to clash with, but may not have had a C++ compiler until
GCC was installed. But that's just a guess, and if it was ever true is
probably not a reason to continue it now.