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.
This commit is contained in:
4
mk-attachments.sh
Executable file
4
mk-attachments.sh
Executable file
@ -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
|
||||
Reference in New Issue
Block a user