Autoconf的AC_COMPILE_IFELSE和AC_LINK_IFELSE是错误的编译器特性。Autoconf报告功能是可用的,即使编译器拒绝使用诸如illegal option之类的消息。/bin/CC -msse4.2 -msha test.C
CC: Warning: Option -msse4.2 passed to ld, if ld is invoked, ignored otherwiseCC: Warning: illegal use of -xarch opt
我需要在mac上为matlab生成几个mex函数,使用包sedumi和英特尔编译器工作室。这是makefileMDIR = /Applications/MATLAB_R2017b.app
#CCFLAGS = -O3 -fpic
# to use the intel compiler instead, unco