From 59e18aee0e509a3ca75dbe6f909e18c1d17893d1 Mon Sep 17 00:00:00 2001 From: mingodad Date: Fri, 11 Jan 2013 00:04:38 +0000 Subject: Added what I call virtual io to tinycc this way we can make a monolitic executable or library that contains all needed to compile programs, truly tinycc portable. Tested under linux exec the "mk-it" shell script and you'll end up with a portable tinycc executable that doesn't depend on anything else. --- mk-attachments.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 mk-attachments.sh (limited to 'mk-attachments.sh') diff --git a/mk-attachments.sh b/mk-attachments.sh new file mode 100755 index 0000000..18cc0b0 --- /dev/null +++ b/mk-attachments.sh @@ -0,0 +1,4 @@ +FNAME=tcc_attachments +gcc -o bin2c bin2c.c +./bin2c -m -d ${FNAME}.h -o ${FNAME}.c include/* libtcc.a libtcc1.a +gcc -c ${FNAME}.c -- cgit v1.3.1