I am trying compile he following in octave4.0 in Linux 14.04 :
mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims read_data.cpp
mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims write_data.cpp
The following error crops up :
****mkoctfile: unrecognized argument CFLAGS=-std=c99**
**warning: mkoctfile exited with failure status****
Anyone knows what this means and how to fix this?