The foreign resource linker,
splfr, is used for creating
foreign resources (see Foreign Resources).
reads terms from a Prolog file
foreign_resource/2 fact with first
argument matching the resource name and all
facts. Based on this information, it generates the necessary
glue code, including a header file that the user code should include,
and combines it with any additional C or object files
provided by the user into a linked foreign resource. The output
file name will be the resource name with a suitable extension.
Note that no pathnames passed to
splfr should contain spaces.
Under Windows, this can be avoided by using the short version of
pathnames as necessary.
See too-splfr for detailed information about
splfr options etc..
|• Customizing splfr:||Customizing |
|• Manual splfr:||Creating Linked Foreign Resources Manually under UNIX|
|• Windows-specific splfr issues:||Windows-specific splfr issues|