code / scripts

Lines748 Shell528 Python72 Lua67 Bourne Again Shell62 make15
1 others 4
Markdown4
(6 lines)
1 #!/bin/sh
2 # gcc-run - A simple script to compile and run a program with GCC
3 out=$(mktemp /tmp/gcc-run-XXXXXX)
4 trap "rm -f $out" EXIT
5 gcc -fdollars-in-identifiers -o "$out" $@
6 $out