Go to the first, previous, next, last section, table of contents.


Utilities for on-demand compilation of foreign files

Author(s): Manuel Carro, Jose Morales.

Version: 1.10#6 (2004/8/7, 21:46:39 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.

Usage and interface (foreign_compilation)

Documentation on exports (foreign_compilation)

PREDICATE: compiler_and_opts/2:

Usage: compiler_and_opts(?Compiler, ?Opts)

PREDICATE: linker_and_opts/2:

Usage: linker_and_opts(?Linker, ?Options)


Go to the first, previous, next, last section, table of contents.