[issm-svn] r11682 - issm/trunk/m4

morlighe at issm.ess.uci.edu morlighe at issm.ess.uci.edu
Mon Mar 12 11:13:44 PDT 2012


Author: morlighe
Date: 2012-03-12 11:13:44 -0700 (Mon, 12 Mar 2012)
New Revision: 11682

Modified:
   issm/trunk/m4/issm_options.m4
Log:
Use 64 bit flags for matlab 7.9 and higher

Modified: issm/trunk/m4/issm_options.m4
===================================================================
--- issm/trunk/m4/issm_options.m4	2012-03-12 17:17:51 UTC (rev 11681)
+++ issm/trunk/m4/issm_options.m4	2012-03-12 18:13:44 UTC (rev 11682)
@@ -119,11 +119,11 @@
 			*darwin*)
 
 				dnl mex -v gives all the flags for compilation of mex files
-				dnl if matlab version is 7.10 or more, we must use mexmaci64 (64 bits)
+				dnl if matlab version is 7.9 or more, we must use mexmaci64 (64 bits)
 				MEXLINK="-O -Wl,-flat_namespace -undefined suppress -arch i386 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"
-				MEXLIB=" -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++"
+				MEXLIB=" -L$MATLAB_ROOT/bin/maci/ -lmx -lmex -lmat -lstdc++ -largeArrayDims"
 				if test $MATLAB_MAJOR -ge 7; then 
-					 if test $MATLAB_MINOR -ge 10; then 
+					 if test $MATLAB_MINOR -ge 9; then 
 						  MEXLINK="-O -Wl,-flat_namespace -undefined suppress -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci64/mexFunction.map"
 							 MEXLIB=" -L$MATLAB_ROOT/bin/maci64/ -lmx -lmex -lmat -lstdc++"
 					 fi



More information about the issm-svn mailing list