[LLVMdev] check if llvm was built with REQUIRE_RTTI

Richard Osborne richard at xmos.com
Fri Apr 13 14:57:51 PDT 2012


On 12 Apr 2012, at 10:34, Gibheer wrote:

> Hi,
> 
> the rubinius project needs llvm built with REQUIRE_RTTI to
> successfully compile. It can use the system ruby, if it fits, but how
> can I find out, if llvm was build that way?
> 
> thank you,
> 
> Gibheer

You could run llvm-config --cxxflags to get the C++ compiler flags to use for files that include LLVM headers and check if this contains "-fno-rtti".





More information about the llvm-dev mailing list