Quintus Prolog Homepage WELCOME TO
Quintus Prolog
The Industry Standard
  Quintus Home > Portability
Quintus Prolog programs<br>are portable between <br>many platforms

Quintus Prolog programs
are portable between
many platforms


Quintus Object Format (QOF) files contain a machine-independent representation of compiled Prolog. QOF files are portable not only among UNIX platforms, but also between UNIX and PC.

There are two ways to produce QOF files:

  • The stand-alone qpc compiler can compile Prolog source files into QOF files.
  • Built-in Quintus Prolog predicates allow programs to save specified predicates, specified modules or their entire program state into a QOF file.

There are two ways to use QOF files:

  • QOF files can be loaded into a Prolog system.
  • QOF files can be linked together via the qld link-editor to generate standard (.o or .obj) object files. These object files can then be linked with other language code to produce standard executable (a.out out or .exe) files.

The qpc compiler and qld link-editor can be called by standard tools, such as make. This makes it easy to manage projects that contain both Prolog and non-Prolog code.

Cross-Development and Delivery (Windows)

Quintus Prolog supports development and console based delivery under Windows 98/ME/NT/2000/XP.

Stand-alone programs that contain Prolog code are generated using Microsoft Visual C++ version 5 or later. However, Visual C++ is not required to run the Quintus Prolog development system. DLLs may be dynamically loaded directly into the development system.

The foreign interface supports DLLs created by any C/C++ compiler. Interrupts and DLLs are fully supported under Windows 98/ME/NT/2000/XP. Quintus Prolog's TCP package is directly supported under Windows 98/ME/NT/2000/XP.