Mercurial > projects > ldc
view runtime/build-sharedlibs.sh @ 1650:40bd4a0d4870
Update to work with LLVM 2.7.
Removed use of dyn_cast, llvm no compiles
without exceptions and rtti by
default. We do need exceptions for the libconfig stuff, but rtti isn't
necessary (anymore).
Debug info needs to be rewritten, as in LLVM 2.7 the format has
completely changed. To have something to look at while rewriting, the
old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means
that you have to define this to compile at the moment.
Updated tango 0.99.9 patch to include updated EH runtime code, which is
needed for LLVM 2.7 as well.
author | Tomas Lindquist Olsen |
---|---|
date | Wed, 19 May 2010 12:42:32 +0200 |
parents | 6aaa3d3c1183 |
children |
line wrap: on
line source
#!/bin/bash # I'm no good bash scripter ... # copy imports mkdir -p ../tango/ldc cp internal/ldc/bitmanip.d ../tango/ldc/bitmanip.di cp internal/ldc/vararg.d ../tango/ldc/vararg.di cp import/ldc/* ../tango/ldc # make the runtime cp -R lib ../tango cd ../tango/lib make -f ldc-posix.mak clean make -f ldc-posix.mak sharedlib cd ../.. # install the runtime rm -f lib/libldc-runtime-shared.so cp runtime/internal/libldc-runtime-shared.so lib rm -f lib/libtango-gc-basic-shared.so cp tango/lib/gc/basic/libtango-gc-basic-shared.so lib rm -f lib/libtango-cc-tango-shared.so cp tango/lib/common/tango/libtango-cc-tango-shared.so lib