On Nov 3, 2013, at 10:50 AM, Joseph Rushton Wakeling 
<[email protected]> wrote:

> On 03/11/13 10:37, David Kastrup wrote:
>> We committed a few Clang-related fixes in the past, I think mostly due
>> to Graham's insistence/testing, but I think at some point of time the
>> "compile with Clang" ambition just faded.
> 
> I just tried a clang-based build on my Ubuntu 13.10 system, just to see what 
> would happen:
> 
>    make clean
>    CC=clang CXX=clang++ ./configure
>    make -j2
> 
> It built fine, and also quite a bit faster than a GCC build.
> 
> Version info:
>  Ubuntu clang version 3.3-5ubuntu4 (branches/release_33) (based on LLVM 3.3)
>  Target: x86_64-pc-linux-gnu
>  Thread model: posix
> 
> FWIW I've found it a good idea to test C/C++ codebases against clang if 
> nothing else because clang is rather better at identifying ambiguities and 
> potential errors and providing instructions for how to fix them.
> 
> Mike, can you try typing on a terminal prompt both:
> 
>   g++ --version
>   clang++ —version

So g++ simlinks to clang, and it is a special apple-brewed clang based on 3.3

mbp-de-mike:SCRIPTS mikesolomon$   g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

mbp-de-mike:SCRIPTS mikesolomon$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Cheers,
MS


_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to