source: CPL/oasis3/trunk/util/compile/frames/include_mercure/Compile_mode_libs_mercure.h @ 1991

Last change on this file since 1991 was 1677, checked in by aclsce, 10 years ago

Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).

File size: 991 bytes
Line 
1# Compile modes (specified by user): libraries on mercure
2#
3#     Note : - all libraries are compiled with -Pstack
4#            - the models use their own (stack/static) option
5#           
6  if [ $compile_mode = default ];   then
7    optc=" "
8    optl=" -size_t64 "
9    optf=" -Wf,-pvctl noassume "
10    optf77=" -Wf,-pvctl noassume "
11  elif [ $compile_mode = debug ];   then
12    optc=" "
13    optf="-eC"
14    optf77="-eC"
15    optl="-size_t64 -Wl,-Z 1000000 -Wf,-init stack=nan heap=nan"
16  elif [ $compile_mode = profile ]; then
17    echo "not yet possible"
18    exit 1
19  elif [ $compile_mode = opt ];     then
20    optc="-Chopt"
21    optf="-Chopt"
22    optf77="-Chopt"
23    optl="-size_t64 -Wl,-Z 1000000 -pi line=1000"
24  elif [ $compile_mode = ad_hoc ];  then
25    echo "with this option the options are set through GUI input"
26    exit 1
27  else
28    echo "Invalid compile mode"
29    exit 1
30  fi
31
32# Other compile options
33
34  optdbl="-dw -Wf,-A idbl4"
35  optnh=""
36  lstflags="-Wf,-L fmtlist transform"
Note: See TracBrowser for help on using the repository browser.