Installation question.
Segher Boessenkool
segher@kernel.crashing.org
Sun May 12 18:01:00 GMT 2019
On Sun, May 12, 2019 at 03:53:53PM +0100, 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 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?
"cc" isn't POSIX, since over a decade I think. "c99" is POSIX, and it is
a shell script calling whatever "gcc" is first in the PATH, on most distros.
Many scripts that call "cc" expect to find a K&R compiler, historically at
least -- maybe all such scripts went the way of the dodo, that wouldn't be
so bad.
I don't know about "c++", and it is pretty much impossible to search for.
Jeff added it in <https://gcc.gnu.org/r34527>, maybe he can clarify? But
that was quite some time ago ;-)
Segher
More information about the Gcc
mailing list