Installation question.

Jonathan Wakely jwakely.gcc@gmail.com
Sun May 12 17:15:00 GMT 2019


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.



More information about the Gcc mailing list