This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installation question.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]