[Mono-dev] mono-2-10 branch on git with LLVM mono branch (osx)

Jonathan Shore jonathan.shore at gmail.com
Sun Dec 18 16:12:43 EST 2011

I was trying to compile 2.10.7 for OSX for 64 bit.  It seems that LLVM (and the mono branch) has had some interface changes, for instance, lvm/Support/StandardPasses.h, no longer exists, replaced with 

Perhaps the mono-2-10 branch is in flux?  Is there a stable tarball for llvm and mono for 2.10.7 (or even 2.10.6)?   Or perhaps there is a different branch of mono and/or llvm I should be sourcing?  I took sources from:

git clone -b mono git://github.com/mono/llvm.git
git clone -b mono-2-10 https://github.com/mono/mono.git mono-2.10

During compilation encounter:

/bin/sh ../../libtool --quiet --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent  -D__default_codegen__ -I/usr/local/mono/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3  -fno-exceptions -fno-rtti -fno-common -Woverloaded-virtual -Wcast-qual -fno-rtti -DLLVM_MONO_BRANCH -DLLVM_MAJOR_VERSION=3 -DLLVM_MINOR_VERSION=0 -I../../eglib/src -I../../eglib/src -g -O2 -MT mini-llvm-cpp.lo -MD -MP -MF .deps/mini-llvm-cpp.Tpo -c -o mini-llvm-cpp.lo mini-llvm-cpp.cpp
mini-llvm-cpp.cpp:42:41: error: llvm/Support/StandardPasses.h: No such file or directory
mini-llvm-cpp.cpp: In function 'void force_pass_linking()':
mini-llvm-cpp.cpp:339: error: 'createAAEvalPass' is not a member of 'llvm'
<more errors>

Finally, any thoughts on providing both a 32bit and 64bit build of mono for osx?   I understand that monodevelop and UI tools will require 32bit for the time being, but for other purposes, 64 bit + LLVM makes sense.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111218/a2c141af/attachment.html 

More information about the Mono-devel-list mailing list