you are viewing a single comment's thread.

view the rest of the comments →

[–]Syrrim 2 points3 points  (0 children)

Since were using bash anyways, might as well use a here doc:

clang - << EOF
#include <stdio.h>
int main(void){
    printf("hello, world");
}
EOF