changeset 317:6dfbf5691a7f

Move where additional parameters are inserted in gcc command line so that additional libs can be specified
author Michael Pavone <pavone@retrodev.com>
date Thu, 19 Mar 2015 22:39:42 -0700
parents df4b67d8d2bc
children 4c669942c30d
files compile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/compile	Thu Mar 19 22:39:18 2015 -0700
+++ b/compile	Thu Mar 19 22:39:42 2015 -0700
@@ -17,4 +17,4 @@
 bin=`echo $1 | sed 's/\.tp//'`
 shift
 echo gcc $@ -o $bin $cname $dir/runtime/object.c -lgc
-gcc $@ -o $bin $cname $dir/runtime/object.c -I$dir -lgc
+gcc -o $bin $cname $dir/runtime/object.c -I$dir $@ -lgc