Mercurial > repo
comparison bin/cc @ 5955:de7749cfb1d9
<fizzie> ` sed -i -e \'s,>/tmp/a.c &&,|,;s|/tmp/a.c|-x c -|\' bin/cc
author | HackBot |
---|---|
date | Thu, 03 Sep 2015 08:03:54 +0000 |
parents | 56dcce63901b |
children |
comparison
equal
deleted
inserted
replaced
5954:91b69af613a7 | 5955:de7749cfb1d9 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 echo "$@" | sed 's/\\/\n/g' >/tmp/a.c && gcc -w -Wfatal-errors -std=c11 -O2 /tmp/a.c -o /tmp/a.out && /tmp/a.out | 2 echo "$@" | sed 's/\\/\n/g' | gcc -w -Wfatal-errors -std=c11 -O2 -x c - -o /tmp/a.out && /tmp/a.out |