shithub: mc

Download patch

ref: a712b22769015c36bdea12672acde14bb4f39686
parent: 82841cb55548a8eca0d0cdb5a88ffc1ff0b76338
author: Ori Bernstein <[email protected]>
date: Thu Sep 27 11:38:43 EDT 2012

Compile the tests using libmyr, don't use libc for the
start symbol.

--- a/test/test.sh
+++ b/test/test.sh
@@ -2,7 +2,8 @@
 export PATH=.:$PATH
 export MC=../6/6m
 export MU=../util/muse
-export CC=cc
+export AS=AS
+export LD=ld
 NFAILURES=0
 
 function use {
@@ -15,7 +16,7 @@
     rm -f $1 $1.o $1.s $1.use
     echo $MC $1.myr && \
     $MC $1.myr && \
-    $CC -g -o $1 $1.o
+    $LD -o $1 $1.o -L../libstd -lstd
 }
 
 function prints {