Skip to content

Commit 8e02317

Browse files
mmueslydanpoe
authored andcommitted
Update compile_example.sh to use realitve path and c11 flag
Older gcc versions only compile c11 if the -std=c11 flag is set. Further this script assumed goto-gcc to be on the path. This is no longer required.
1 parent eb72f1b commit 8e02317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression/memory-analyzer/compile_example.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ set -e
66

77
NAME=${5%.exe}
88

9-
goto-gcc -g -o $NAME.exe $NAME.c
9+
../../../src/goto-cc/goto-gcc -g -std=c11 -o $NAME.exe $NAME.c
1010
$MEMORYANALYZER $@

0 commit comments

Comments
 (0)