[MacRuby-devel] macruby experimental benchmark
Laurent Sansonetti
lsansonetti at apple.com
Sun Mar 29 10:09:57 PDT 2009
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
More information about the MacRuby-devel
mailing list