[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clang!
From: |
Richard Campbell |
Subject: |
Re: Clang! |
Date: |
Tue, 1 Feb 2011 19:12:04 -0500 |
On Feb 1, 2011, at 7:09 PM, Ben Abbott wrote:
> On Feb 1, 2011, at 12:36 PM, Richard Campbell wrote:
>
>> octave:2> octave_config_info.CC
>> ans = clang
>> octave:3> octave_config_info.CXX
>> ans = llvm-g++
>> octave:4> octave_config_info.FC
>> ans = gfortran
>> octave:5> octave_config_info.config_opts
>> ans = '--disable-docs' '--with-blas=-lBLASWRAP' 'CC=clang' 'CFLAGS=-arch
>> x86_64' 'LDFLAGS=-arch x86_64' 'CPPFLAGS=-arch x86_64 -D_REENTRANT'
>> 'CXX=llvm-g++' 'FFLAGS=-arch x86_64'
>>
>> It works! I also tried it with CXX="clang" but it gave a bunch of warnings
>> and then hung during the build. From what I gather, c++ support from Clang
>> is still highly experimental, although six months ago it was completely
>> nonexistent. LLVM is working beautifully though. I might try with
>> llvm-gfortran as well.
>>
>> Campbell
>
> Is there a llvm-gfortan for MacOS?
>
> Ben
>
Not from Apple, but macresearch.org has one. I haven't tried anything from them
yet.
Campbell
- Clang!, Richard Campbell, 2011/02/01