I do this now by running two commands.
C:\TC\Bin>tcc test.cpp
C:\TC\Bin>test
Is there any way to accomplish this by using just one command?
I do this now by running two commands.
C:\TC\Bin>tcc test.cpp
C:\TC\Bin>test
Is there any way to accomplish this by using just one command?
As Basile Starynkevitch said you could write a batch file... This version has error checking for compile errors...
@Echo off tcc test.cpp if errorlevel 1 goto FAILED test.exe
:FAILED
As your project gets more complicated consider using MAKEFILE's