[petsc-dev] defaulting gnu compilers on Apple

Barry Smith bsmith at mcs.anl.gov
Thu Oct 31 12:52:29 CDT 2013


On Oct 31, 2013, at 10:09 AM, Satish Balay <balay at mcs.anl.gov> wrote:

> On Thu, 31 Oct 2013, Jed Brown wrote:
> 
>> Satish Balay <balay at mcs.anl.gov> writes:
>>>>>>>> clang: warning: argument unused during compilation: '-fsel-sched-pipelining'
>>>> 
>>>> ~/s/s/w/tmp ❯❯❯ gcc --analyze file.c
>>>> ~/s/s/w/tmp ❯❯❯ clang --analyze file.c
>>> 
>>> so /usr/bin/gcc is an alias to clang on Xcode5
>> 
>> Not an alias and not the same exact binary, but the same number of
>> bytes.  You can report to Apple that the options documented in "man gcc"
>> do not work with the "gcc" that they ship.
> 
> ok - not an alias but a 'light weight wrapper over clang' with no code
> whatsoever from gcc.
> 
> As of now - the differences this wrapper might provide is not obvious to us.
> 
> So for practical purposes '/usr/bin/gcc' is same as 'clang’.

   How can you say that. We simply do not know.

> 
> Satish




More information about the petsc-dev mailing list