Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - English

Change language to:
Français - 日本語 - Português

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

Scilab help >> Dynamic/incremental Link > ilib_compile

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])

Arguments

lib_name

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

makename

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

files

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

libn

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

ldflags,cflags,fflags,cc

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

Description

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.

See Also

  • addinter — new functions interface dynamic link at run time.
  • link — dynamic linker
  • ilib_build — utility for shared library management
  • ilib_gen_Make — utility for ilib_build: produces a Makefile for building shared libraries
  • ilib_gen_gateway — utility for ilib_build, generates a gateway file.
  • ilib_gen_loader — utility for ilib_build: generates a loader file
  • ilib_for_link — utility for shared library management with link
  • api_scilab — api_scilab is the Scilab interface to read/write data from/to Scilab memory
<< ilib_build Dynamic/incremental Link ilib_for_link >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 10:59:47 CET 2011