check if llvm was built with REQUIRE_RTTI

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

Check for the presence of "typeinfo for ..." outside libLLVMSupport
using nm -C?

Joerg

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".

Ah, then rubinius already has the correct check. Maybe then something
different is wrong with my installation. Thank you very much for your
help.