Mercurial > projects > ldc
view runtime/build.sh @ 535:f79bbd1d0b27
Add __APPLE__ to most #if linux compile time switches.
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 24 Aug 2008 16:54:06 +0200 |
parents | bebc6099fb89 |
children | bfbd71f60572 |
line wrap: on
line source
#!/bin/bash # I'm no good bash scripter ... # copy imports mkdir -p ../tango/llvmdc cp -u internal/llvmdc/bitmanip.d ../tango/llvmdc/bitmanip.di cp -u internal/llvmdc/vararg.d ../tango/llvmdc/vararg.di cp -u import/llvmdc/* ../tango/llvmdc # make the runtime cp -Ru lib ../tango cd ../tango/lib make -f llvmdc-posix.mak clean make -f llvmdc-posix.mak # install the runtime rm -f ../../lib/libtango-base-llvmdc-native.a cp `pwd`/libtango-base-llvmdc-native.a ../../lib