ilib_build utility: executes the Makefile produced by ilib_gen_Make
libn=ilib_compile(lib_name,makename [,files,ldflags,cflags,fflags,cc])
:
Utility function used by ilib_build
This executes the Makefile produced by ilib_gen_Make, compiles the C and fortran files and generates the shared library.
Shared libraries can then be used with the link and addinter Scilab function for incremental/dynamic link.
Note that a compiler must be available on the system to use this function.
On the internal technical level, under GNU/Linux and Mac OS X, the ilib_* function are based on the autotools. First, a configure is executed to detect compilers available. Then, a make is launched with the provided arguments. For more information: Full technical description of the incremental link / dynamic link
Since version 5.3.2, under GNU/Linux, Scilab detects where the libstdc++ is located (thanks to the command gcc -print-search- dirs|grep ^install:|awk ‘{print $2}’ ). Previously, the dynamic link was using the libstdc++ embedded in Scilab.