view runtime/build.sh @ 537:bfbd71f60572

Don't use -u in build.sh; not all cp implementations support it.
author Christian Kamm <kamm incasoftware de>
date Sun, 24 Aug 2008 17:01:40 +0200
parents bebc6099fb89
children 926a03711ca8
line wrap: on
line source
#!/bin/bash

# I'm no good bash scripter ...

# copy imports
mkdir -p ../tango/llvmdc
cp internal/llvmdc/bitmanip.d ../tango/llvmdc/bitmanip.di
cp internal/llvmdc/vararg.d ../tango/llvmdc/vararg.di
cp import/llvmdc/* ../tango/llvmdc

# make the runtime
cp -R 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