Don't you need something more like
this?
#!/bin/sh
#if 0
exec /path/to/tcc ...your args here...
#endif
/* C code goes here */
_______________________________________________
Tinycc-devel mailing list
address@hiddenhttps://lists.nongnu.org/mailman/listinfo/tinycc-develThat is brilliant and works perfectly! I don't know how, but it does!
Thank you so much!!!
P.S. I modified libtcc to accept .cgi as a valid source file extension.
For anyone else interested:
libtcc.c line 1132
change: if (!ext[0] || !PATHCMP(ext, "c")) {
to: if (!ext[0] || !PATHCMP(ext, "c") || !PATHCMP(ext, "cgi")) {