mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-13 05:10:07 +08:00
Revert "Make ex1.c and ex4.c be executable on any systems"
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 27a428cd0f
.
This commit is contained in:
parent
27d38bf23f
commit
ad5f3758c3
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env tcc -run
|
#!/usr/local/bin/tcc -run
|
||||||
#include <tcclib.h>
|
#include <tcclib.h>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11
|
#!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user