annotate runtime/build.sh @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 6aaa3d3c1183
children
rev   line source
tomas@443 1 #!/bin/bash
tomas@443 2
tomas@443 3 # I'm no good bash scripter ...
tomas@443 4
tomas@443 5 # copy imports
kamm@663 6 mkdir -p ../tango/ldc
kamm@663 7 cp internal/ldc/bitmanip.d ../tango/ldc/bitmanip.di
kamm@663 8 cp internal/ldc/vararg.d ../tango/ldc/vararg.di
kamm@663 9 cp import/ldc/* ../tango/ldc
tomas@443 10
tomas@443 11 # make the runtime
kamm@537 12 cp -R lib ../tango
tomas@443 13 cd ../tango/lib
kamm@663 14 make -f ldc-posix.mak clean
kamm@663 15 make -f ldc-posix.mak lib
kamm@569 16 cd ../..
tomas@443 17
tomas@443 18 # install the runtime
kamm@663 19 rm -f lib/libldc-runtime*.a
kamm@663 20 cp runtime/internal/libldc-runtime*.a lib
kamm@569 21 rm -f lib/libtango-gc-basic*.a
kamm@569 22 cp tango/lib/gc/basic/libtango-gc-basic*.a lib
kamm@569 23 rm -f lib/libtango-cc-tango*.a
kamm@569 24 cp tango/lib/common/tango/libtango-cc-tango*.a lib