Changeset 11682


Ignore:
Timestamp:
03/12/12 11:13:44 (13 years ago)
Author:
Mathieu Morlighem
Message:

Use 64 bit flags for matlab 7.9 and higher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/m4/issm_options.m4

    r11681 r11682  
    120120
    121121                                dnl mex -v gives all the flags for compilation of mex files
    122                                 dnl if matlab version is 7.10 or more, we must use mexmaci64 (64 bits)
     122                                dnl if matlab version is 7.9 or more, we must use mexmaci64 (64 bits)
    123123                                MEXLINK="-O -Wl,-flat_namespace -undefined suppress -arch i386 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"
    124                                 MEXLIB=" -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++"
     124                                MEXLIB=" -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++ -largeArrayDims"
    125125                                if test $MATLAB_MAJOR -ge 7; then
    126                                          if test $MATLAB_MINOR -ge 10; then
     126                                         if test $MATLAB_MINOR -ge 9; then
    127127                                                  MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci64/mexFunction.map"
    128128                                                         MEXLIB=" -L$MATLAB_ROOT/bin/maci64/ -lmx -lmex -lmat -lstdc++"
Note: See TracChangeset for help on using the changeset viewer.