Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
See the recommended documentation of this function

Manuel Scilab >> Link dynamique/incremental > ilib_compile


ilib_build utility: executes the Makefile produced by ilib_gen_Make

Calling Sequence

libn=ilib_compile(lib_name,makename [,files,ldflags,cflags,fflags,cc])



a character string, the generic name of the library without path and extension.


character string. The path of the Makefile file without extension.


optionnal vector of character strings. If files is given the make is performed on each target contained in files then a whole make is performed


character string. The path of the actual generated shared library file.


character strings to provide options/flags for the loader, the C compiler, the Fortran compiler. cc provides the name of the compiler.


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.

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:17 CET 2011