Author(s): Manuel Carro, Jose Morales.
Version: 1.10#7 (2006/4/26, 19:22:13 CEST)
Version of last change: 1.3#36 (1999/7/20, 10:37:31 MEST)
This module provides two predicates which give the user information regarding how to compile external (C) files in order to link them with the Ciao Prolog engine at runtime.
These predicates are not intended to be called directly by the end-user. Instead, a tool or module whose aim is generating dynamically loadable files from source files should use the predicates in this file in order to find out what are the proper compiler and linker to use, and which options must be passed to them in the current architecture.
foreign_compilation
)foreign_compilation
)
Usage: compiler_and_opts(?Compiler, ?Opts)
Compiler
and give it the options Opts
. A variable in Opts
means that no special option is needed.
?Compiler
is currently instantiated to an atom.
(term_typing:atom/1
)
?Opts
is a list of atom
s.
(basic_props:list/2
)
Usage: linker_and_opts(?Linker, ?Options)
Compiler
and gite it the options Opts
. A variable in Opts
means that no special option is needed.
?Linker
is currently instantiated to an atom.
(term_typing:atom/1
)
?Options
is a list of atom
s.
(basic_props:list/2
)
Go to the first, previous, next, last section, table of contents.