annotate lphobos/ldc-build @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents d8a1481eaa0c
children
rev   line source
tomas@475 1 #!/bin/sh
tomas@475 2 export PATH=$PATH:/opt/llvm/bin
tomas@475 3 export FILE=$1; shift
kamm@663 4 export LDC_PATH=~/ldc
kamm@663 5 PARAM=$(for p_file in $($LDC_PATH/bin/ldc $FILE -I~/ldc/lphobos -c -v -of/dev/null |grep import \
tomas@475 6 |sed -e "s/import *//" -e "s/\t.*//" \
tomas@475 7 |sed -e "s/\./\//g" -e "s/$/\.d/"); do if [ -f $p_file ]; then echo $p_file; fi; done)
kamm@663 8 echo ldc $FILE $@ $PARAM
kamm@663 9 $LDC_PATH/bin/ldc $FILE $@ $PARAM