source: CPL/oasis3/trunk/util/compile/frames/include_ada/Compile_mode_libs_ada.h @ 2040

Last change on this file since 2040 was 2040, checked in by aclsce, 11 years ago

Put mcmodel=large for Ada compilation.

  • Property svn:executable set to *
File size: 987 bytes
Line 
1# Compile modes (specified by user): libraries on ada
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    optf="-shared-intel -mcmodel=large -convert big_endian"
9    optf77="-shared-intel -mcmodel=large -convert big_endian"
10    optl="-shared-intel -mcmodel=large"
11  elif [ $compile_mode = debug ];   then
12    optc=" "
13    optf="-convert big_endian"
14    optf77="-convert big_endian"
15    optl=""
16  elif [ $compile_mode = profile ]; then
17    echo "not yet possible"
18    exit 1
19  elif [ $compile_mode = opt ];     then
20    optc=""
21    optf="-convert big_endian"
22    optf77="-convert big_endian"
23    optl=""
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="-i4 -r8"
35  optnh=""
36  lstflags=""
Note: See TracBrowser for help on using the repository browser.