Distributing Your Programs

This section pertains only to users who are licensed to redistribute the Amzi! Prolog Runtime.

In order package up your .plm files into a distributable module, you first need to create an .xpl file for your application as described in the section on alnk.

For command-line environments like the Windows Console, Solaris or Linux, you need to create an .exe file. The simplist way to do this is to copy arun.exe to yourprog.exe, where your compiled and linked Prolog module is called yourprog.xpl. When yourprog.exe is run, it will automatically run yourprog.xpl. The source code for arun is included in the src/acore/arun directory. It is in file arun.cpp. A make file is included as well.

To ship your program to other users, the following files are required:

Your users simply copy these files into a directory and run the program by typing its name at the operating system prompt. If that directory is in their PATH statement, they can run your application from any directory on their machine.

Redistributable Files

The following files may be distributed with your Amzi! Prolog application:

You may distribute the contents of the following files if they are linked into your .xpl file (alib.plm is always linked in):

You may distribute the following files if they are linked into your EXE file:

You may incorporate all or part of any of the sample (in the samples subdirectory) into your applications, but you may not distribute the source code in any form (see your License Agreement for details).

You may not distribute any other files not explicitly listed here without the prior written authorization of Amzi! inc. This includes, but is not limited to the system software files, abld.exe, alis.exe, alis.xpl, acmp.exe, acmp.xpl, wideA.exe, wideW.exe, alnk.exe, alnk.dll, and source code for files that support the development of Logic Server applications, such as amzi.h, amzi.bas, and amzi.pas.

Copyright ©1987-2000 Amzi! inc. All Rights Reserved.