I'm trying to build a minimally sized library to redistribute with a 32-bit Window application which only uses a very few functions from MKL. I have suceeded in creating a dll and lib that are correctly used by the application.
But, I have a couple questions.
1) A mkl_custom.dll was created despite specifying the target libia32. Why didn't it build me a static library as the target indicated?
2) The custom_my.dll is 10M. Is there any way to reduce the size more and will the size grow rapidly as I start using more functions? I've currently been given a budget of 5M which might be flexible to 10M. But, if it goes up significantly like when I start using MKL matrix multiplication, I will be unlikely to be able to use this library.
* Here is the Method I used to produce the custom library:
** Add C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\bin to PATH
** cd to C:\\Program Files (x86)\\Intel\\ComposerXE-2011\\mkl\\tools\\builder
** Create functions_list with functions for SVD and summary statistics
LAPACKE_dgesdd (DGESDD does not work)
** run vcvars32.bat
** Edit makefile and change buf_lib=bufferoverflowu.lib to buf_lib=
** run nmake libia32 interface=cdecl
** Check the libraries with dumpbin /exports mkl_custom.lib