Description:
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@238 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r57:1706f495c73a - - 1 file changed: 3 inserted, 3 deleted

@@ -11,27 +11,27
11 11
12 12 talk ()
13 13 {
14 14 if [ "$TALKATIVE" != "" ]; then
15 15 echo "$1"
16 16 fi
17 17 }
18 18
19 19 export C_COMPILER=/usr/bin/gcc
20 20 export CPLUSPLUS_COMPILER=/usr/bin/g++
21 21 export PASCAL_COMPILER=/usr/bin/fpc
22 22
23 - export C_OPTIONS="-O2 -s -static -lm -Wall"
24 - export CPLUSPLUS_OPTIONS="-O2 -s -static -lm -Wall"
25 - export PASCAL_OPTIONS="-O1 -XS"
23 + export C_OPTIONS="-O2 -s -static -std=c99 -DCONTEST -lm -Wall"
24 + export CPLUSPLUS_OPTIONS="-O2 -s -static -DCONTEST -lm -Wall"
25 + export PASCAL_OPTIONS="-O1 -XS -dCONTEST"
26 26
27 27 # Check for the correct number of arguments. Otherwise, print usage.
28 28 if [ $# -eq 0 -o $# -gt 4 ]
29 29 then
30 30 echo "Usage: $0 <language> [<source-file>] [<output-file>] [<message-file>]"
31 31 echo
32 32 echo "<source-file> is defaulted to \"source\"."
33 33 echo "<output-file> is defaulted to \"a.out\"."
34 34 echo "<message-file> is defaulted to \"compiler_message\"."
35 35 echo
36 36 exit 127
37 37 fi
You need to be logged in to leave comments. Login now