mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-30 11:57:51 +08:00
Make ex1.c and ex4.c be executable on any systems
Use /usr/bin/env to make ex1.c and ex4.c on any systems, wherever is installed tcc.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#! /usr/local/bin/tcc -run
|
||||
#!/usr/bin/env tcc -run
|
||||
#include <tcclib.h>
|
||||
|
||||
int main()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!./tcc -run -L/usr/X11R6/lib -lX11
|
||||
#!/usr/bin/env tcc -run -L/usr/X11R6/lib -lX11
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
Reference in New Issue
Block a user