#!/usr/bin/sh if [ "$1" = "" ] ;then echo local_tlcc file.tlcc echo Use ./tlcc to convert one file to /tmp/toto.cc echo then compile it to /tmp/toto using g++ echo and execute it exit 1 else ./tlccversion --cppoptions "-DEXPORT= -I/usr/include/tlmp" $1 /tmp/toto.ref ./tlcc --compvers /tmp/toto.ref $1 >/tmp/toto.cc && g++ -Wall -O2 -DEXPORT= -I/usr/include/tlmp /tmp/toto.cc -o /tmp/toto -lstdc++ -ltlmp && /tmp/toto fi