- Справка Scilab
- Modules manager
- tbx_build_blocks
- tbx_build_cleaner
- tbx_build_gateway
- tbx_build_gateway_clean
- tbx_build_gateway_loader
- tbx_build_help
- tbx_build_help_loader
- tbx_build_loader
- tbx_build_localization
- tbx_build_macros
- tbx_build_pal_loader
- tbx_build_src
- tbx_builder_gateway
- tbx_builder_gateway_lang
- tbx_builder_help
- tbx_builder_help_lang
- tbx_builder_macros
- tbx_builder_src
- tbx_builder_src_lang
- tbx_generate_pofile
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
tbx_build_gateway
Build a gateway (toolbox compilation process)
Calling Sequence
tbx_build_gateway(libname, names, files, [gateway_path [, libs [, ldflags [, cflags [, fflags [, cc [, makename [, ismex]]]]]]]])
Arguments
- libname
a character string, the generic name of the library without path and extension.
- names
2 column string matrix giving the table of pairs 'scilab-name', 'interface name'
- files
string matrix giving objects files needed for shared library creation
- gateway_path
Path to the sources of the gateway ; in a normal toolbox it should be the directory containing the builder_gateway_(lang).sce script (which should be the script calling this function). Default is current directory.
- libs
string matrix giving extra libraries needed for shared library creation
- ldflags,cflags,fflags
character strings to provide options for the loader, the C compiler and the Fortran compiler.
- cc
character string. The name of or path to the compiler.
- makename
character string. The path of the Makefile file without extension.
This parameter is useless since Scilab 5.0. Default value to use: [].
A warning will be displayed in Scilab 5.3 if you use another value that the default.
- ismex
Internal variable to specify if we are working with mex or not.
Examples
// Recommended usage tbx_build_gateway('mytoolbox', ['c_sum','sci_csum';'c_sub','sci_csub'], ['sci_csum.c','sci_csub.c'], .. get_absolute_file_path('builder_gateway_c.sce'), .. ['../../src/c/libcsum']);
See Also
- ilib_build — utility for shared library management
Report an issue | ||
<< tbx_build_cleaner | Modules manager | tbx_build_gateway_clean >> |