Hi Rhys, Success! 'make check' succeeds (all of it) with CC=clang. This is for Mountain Lion (OS X 10.8.2).
'clang -v' yields: Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) Target: x86_64-apple-darwin12.2.0 I'm going to guess that clang should be chosen for OS X 10.7 and later. The default 'CC=gcc' should be chosen otherwise. Good news! Steve On Oct 25, 2012, at 7:24 PM, Rhys Ulerich <[email protected]> wrote: > Hi Steve, > >> What I don't know is how to tell the gsl build mechanism to use that compiler > > Does the discussion here help? > http://stackoverflow.com/questions/6796982/clang-and-the-default-compiler-in-os-x-lion > > That is, > export CC=clang > followed by the usual ./configure && make && make check. > > Since Apple seems to be going away from GCC, and if clang does work, > I'd appreciate anyone's thoughts on tweaking configure.ac to prefer > clang on OS X. A quick Google indicates the two are ABI compatible. > And we do get a deluge of OS X-related problems here. Maybe with this > solved we can get the hypergeometric 2F1 going again. > > - Rhys
