4 ms·
Why go to all that trouble when you can just #!/usr/bin/tcc -run #include <stdio.h> int main() { puts("Hello, World!"); }
by riking 9y ago
Why go to all that trouble when you can just
#!/usr/bin/tcc -run
#include <stdio.h>
int main() { puts("Hello, World!"); }
- modeless 9y agoBecause most people don't have tcc installed, and the convenience is ruined if you have to install things for this to work. I really like that tcc has a flag for this; GCC and Clang really should copy it.
- ogdoad 9y agoWhen I read the source and started on the comments, I thought: won't be long until someone drops in TCC. But yes, TCC does limit you in this regard a bit.