[petsc-dev] defaulting gnu compilers on Apple

Sean Farley sean.michael.farley at gmail.com
Thu Oct 31 00:12:39 CDT 2013


balay at mcs.anl.gov writes:

> On Thu, 31 Oct 2013, Sean Farley wrote:
>
>> 
>> balay at mcs.anl.gov writes:
>> 
>> > unless everyone is using xcode5 - I think gcc/g++ is a safer default.
>> 
>> Apple stopped shipping gcc with Xcode 4.2 [1]. Since that version,
>> everyone has been using the llvm backend.
>
> The isse is clang frontend with xcode4 is buggy [breaks with petsc build]
>
> http://lists.mcs.anl.gov/pipermail/petsc-dev/2013-October/thread.html

It would appear so.

>> Only in version >= 5.0 has
>> llvm-gcc been dropped. And in Mavericks only libc++ (and not libstdc++)
>> is shipped.
>> 
>> [1] http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions
>
> Since /usr/bin/gcc is an alias to clang in Xcode5 - there is no need
> to change defaults on OSX as Barry is suggesting?

Probably, but I haven't tested.



More information about the petsc-dev mailing list