Compile c code on puppy linux, clang

Source code first.c:
#include <stdio.h>
int main(void) {
	for (int i=0; i<10; i++) {
		printf ("lets count %d\n",i); 
	}
}
Install compiler clang
https://drive.google.com/uc?export=download&id=0Bw6O2bpd3mobS0VnNW1wVUYxS0E
3930dde089d619f3066eea0743319f58
a5ef3caab8b804669c1e7920ad70cc174f9b07f9

Use clang to compile the source code:
clang -o blahblah first.c
Run the new object code with ./:
./blahblah

No comments: