[petsc-dev] defaulting gnu compilers on Apple
Satish Balay
balay at mcs.anl.gov
Wed Oct 30 23:33:01 CDT 2013
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
> 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?
Satish
More information about the petsc-dev
mailing list