[MacRuby-devel] MacRuby and LLVM 2.7

Max Bolingbroke batterseapower at hotmail.com
Sat May 8 12:16:20 PDT 2010


Hi,

The LLVM release notes say that MacRuby v0.6 will work with 2.7
(http://llvm.org/releases/2.7/docs/ReleaseNotes.html), but I'm having
trouble with it:

"""
$ rake
(in /Users/mbolingbroke/Programming/Checkouts/MacRuby-0.6)
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
rm miniprelude.c.new
/usr/bin/g++-4.2 -I/usr/local/include  -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2   -fno-rtti
-fno-common -Woverloaded-virtual -I. -I./include -g -Wall -arch i386
-arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror
-I./icu-1060 -c main.cpp -o main.o
In file included from main.cpp:8:
llvm.h:12:33: error: llvm/ModuleProvider.h: No such file or directory
In file included from main.cpp:17:
vm.h:602: error: ISO C++ forbids declaration of
‘ExistingModuleProvider’ with no type
vm.h:602: error: expected ‘;’ before ‘*’ token
In file included from main.cpp:8:
llvm.h:12:33: error: llvm/ModuleProvider.h: No such file or directory
In file included from main.cpp:17:
vm.h:602: error: ISO C++ forbids declaration of
‘ExistingModuleProvider’ with no type
vm.h:602: error: expected ‘;’ before ‘*’ token
lipo: can't figure out the architecture type of:
/var/folders/4j/4jTZECFrFIyDlJjF8ivIeE+++TI/-Tmp-//ccJH4WrV.out
rake aborted!
"""

Perhaps you didn't find time to support LLVM 2.7 in the v0.6 timeframe
after all? Or is this unexpected behaviour?

Cheers,
Max


More information about the MacRuby-devel mailing list