Using /usr/bin/env tcc doesn't work as it was reported. Revert to using the full path which fails if the user installs tcc in non-default location. Then again this is just an example. This reverts commit 27a428cd0fae475d7377e1dbe218c064ee217d85.
Unified · Split
| @@ -1,4 +1,4 @@ | ||
| 1 | −#!/usr/bin/env tcc -run | |
| 1 | +#!/usr/local/bin/tcc -run | |
| 2 | 2 | #include <tcclib.h> |
| 3 | 3 | |
| 4 | 4 | int main() |
| @@ -1,4 +1,4 @@ | ||
| 1 | −#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11 | |
| 1 | +#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11 | |
| 2 | 2 | #include <stdlib.h> |
| 3 | 3 | #include <stdio.h> |
| 4 | 4 | #include <X11/Xlib.h> |