12.2 Linking Foreign Modules
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Foreign Language Interface
        • Linking Foreign Modules
          • What linking is provided?
          • What kind of loading should I be using?
          • library(shlib): Utility library for loading foreign objects (DLLs, shared objects)
          • Low-level operations on shared libraries
          • Static Linking
    • Packages

12.2.1 What linking is provided?

The static linking schema can be used on all versions of SWI-Prolog. Whether or not dynamic linking is supported can be deduced from the Prolog flag open_shared_object (see current_prolog_flag/2). If this Prolog flag yields true, open_shared_object/2 and related predicates are defined. See section 12.2.3 for a suitable high-level interface to these predicates.