mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-20 09:40:06 +08:00
Use @BINDIR@ in shebang of examples to put the right path on the target system. That is, use #!/usr/local/bin/tcc if tcc is installed in /usr/local/bin and #!/usr/bin/tcc if tcc is installed in /usr/bin/tcc.
9 lines
100 B
C
9 lines
100 B
C
#! @BINDIR@/tcc -run
|
|
#include <tcclib.h>
|
|
|
|
int main()
|
|
{
|
|
printf("Hello World\n");
|
|
return 0;
|
|
}
|