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 
<https://pubs.opengroup.org/onlinepubs/7908799/xcu/cc.html>).  As I said 
in bug 40960 I think a GCC configure option to install all those programs 
(as driver variants using slightly different specs, I suppose - but if you 
do that, you need to consider what happens if someone installs the output 
of -dumpspecs where the driver looks for specs, as a default set of specs 
there probably shouldn't override the special way those variants work) 
would make sense.

Driver variants are likely to work more reliably than wrappers simply 
because they know exactly which options take separate arguments and so 
can't confuse option arguments with options themselves.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to