Henry Kroll wrote:
This one is much less horrible. Just create a link to tcc.exe on other
platform.
http://codepad.org/iRUwi89I
"link" does not work on windows. Also re-executing "tcc" can cause
an infinite loop, no?
Also, try using execvp(prog, argv) which doesn't call the shell and
avoids problems with spaces in filenames. (in process.h on windows)
Also, please put the stuff in its own function, not into the switch
directly. Like
case TCC_OPTION_m:
exec_other_tcc(atoi(optarg), argv-1);
break;
Other than that it looks ok now from the required code lines,
just not from the features yet ;)
--- grischka
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel