This works only when tcc.exe is compiled using MSC. MinGW does something in the startup code that defeats it.