octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clang!


From: Richard Campbell
Subject: Clang!
Date: Tue, 1 Feb 2011 12:36:30 -0500

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]