From ed081900ebd31e9a96c4220641039828ed6b6afd Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 24 Dec 2009 20:16:01 -0300 Subject: [PATCH] Add a wrapper script to run programs using CDGC --- cdgcrun | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cdgcrun 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 "$@" -- 2.43.0