[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Clang!
From: |
Ben Abbott |
Subject: |
Re: Clang! |
Date: |
Tue, 01 Feb 2011 19:09:35 -0500 |
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
- Clang!, Richard Campbell, 2011/02/01