Re: Installation question.

2019-05-13 Thread Matthias Kretz
On Sonntag, 12. Mai 2019 20:01:21 CEST Segher Boessenkool wrote: > 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 pl

Re: Installation question.

2019-05-13 Thread Joseph Myers
On Mon, 13 May 2019, Iain Sandoe wrote: > It seems, from this thread that there’s no specific reason for me _not_ > to install a ‘cc’ for Darwin’s GCC installation - at least it will make > c++/cc consistent. Sure. cc should also have the POSIX -D / -U semantics (see

Re: Installation question.

2019-05-13 Thread Iain Sandoe
> On 13 May 2019, at 17:33, Joseph Myers wrote: > > On Sun, 12 May 2019, Segher Boessenkool wrote: > >> "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. > > Note that correct semantics for

Re: Installation question.

2019-05-13 Thread Joseph Myers
On Sun, 12 May 2019, Segher Boessenkool wrote: > "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. Note that correct semantics for "c99" mean it's not a trivial wrapper; some option reordering

Re: Installation question.

2019-05-12 Thread Segher Boessenkool
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 inconsis

Re: Installation question.

2019-05-12 Thread Jonathan Wakely
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 tests

Installation question.

2019-05-12 Thread Iain Sandoe
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 o