1 | # Compile modes (specified by user) : oasis3 on rhodes |
---|
2 | |
---|
3 | if [ $compile_mode = default ]; then |
---|
4 | optc=" " |
---|
5 | optf=" -C vsafe -Wf,-pvctl noassume loopcnt=5000000 " |
---|
6 | optf77=" -C vsafe -Wf,-pvctl noassume loopcnt=5000000 " |
---|
7 | optl=" " |
---|
8 | elif [ $compile_mode = debug ]; then |
---|
9 | optc=" " |
---|
10 | optf="-eC -Wf,-init stack=nan heap=nan" |
---|
11 | optf77="-eC -Wf,-init stack=nan heap=nan" |
---|
12 | optl="-Wl,-Z 1000000 -Wf,-init stack=nan heap=nan" |
---|
13 | elif [ $compile_mode = profile ]; then |
---|
14 | optc=" " |
---|
15 | optf="-Wf,-pvctl noassume loopcnt=5000000 " |
---|
16 | optf77="-Wf,-pvctl noassume loopcnt=5000000 " |
---|
17 | optl=" -p" |
---|
18 | elif [ $compile_mode = opt ]; then |
---|
19 | optc="-Chopt" |
---|
20 | optf="-Chopt -Wf,-pvctl noassume loopcnt=5000000 " |
---|
21 | optf77="-Chopt -Wf,-pvctl noassume loopcnt=5000000 " |
---|
22 | optl="-Wl,-Z 1000000 -pi line=1000" |
---|
23 | elif [ $compile_mode = ad_hoc ]; then |
---|
24 | echo "with this option the options are set through GUI input" |
---|
25 | exit 1 |
---|
26 | else |
---|
27 | echo "Invalid compile mode" |
---|
28 | exit 1 |
---|
29 | fi |
---|
30 | |
---|
31 | # Other compile options |
---|
32 | |
---|
33 | optdbl="-dw -Wf,-A idbl4" |
---|
34 | optnh="" |
---|
35 | lstflags="-Wf,-L fmtlist transform" |
---|
36 | |
---|