From: Leandro Lucarella Date: Thu, 24 Dec 2009 23:16:01 +0000 (-0300) Subject: Add a wrapper script to run programs using CDGC X-Git-Url: https://git.llucax.com/software/dgc/cdgc.git/commitdiff_plain/ed081900ebd31e9a96c4220641039828ed6b6afd Add a wrapper script to run programs using CDGC --- diff --git a/cdgcrun b/cdgcrun new file mode 100755 index 0000000..85a0bf7 --- /dev/null +++ b/cdgcrun @@ -0,0 +1,10 @@ +#!/bin/sh +# This is a small wrapper script to run a D program using the CDGC. +# +# Just run: ./cdgcrun myprogram my arguments +# +# To run "myprogram my arguments" using the CDGC. + +export LD_PRELOAD=./cdgc.so + +exec "$@"