Re: [MacRuby-devel] macruby experimental benchmark
Hello, I'm curious, how did you manage to build MacRuby with clang? I thought it did not support C++ yet. Did you use llvm-g++ maybe? Laurent
I just used g++. I haven't built llvm-gcc. That is too much trouble. when '.c' then ['clang', @cflags] when '.cpp' then ['/usr/bin/g++', @cxxflags] when '.m' then ['clang', @objc_cflags]
On Mar 28, 2009, at 8:09 PM, रजनीश wrote:
Hello, I'm curious, how did you manage to build MacRuby with clang? I thought it did not support C++ yet. Did you use llvm-g++ maybe? Laurent
I just used g++. I haven't built llvm-gcc. That is too much trouble.
when '.c' then ['clang', @cflags] when '.cpp' then ['/usr/bin/g++', @cxxflags] when '.m' then ['clang', @objc_cflags]
Oh I see, that's very cool. In fact I was considering doing that and investigating if it's possible to retrieve the IR from clang at runtime and do some inlining... Laurent
participants (2)
-
Laurent Sansonetti
-
रजनीश