[LLVMdev] check if llvm was built with REQUIRE_RTTI

Gibheer gibheer at gmail.com
Fri Apr 13 22:39:38 PDT 2012


On Fri, Apr 13, 2012 at 11:57 PM, Richard Osborne <richard at xmos.com> wrote:
>
> 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".
>

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



More information about the llvm-dev mailing list