Progress
External Program
Interfaces


Building an HLC Executable

After designing the CALL statements, supporting C functions, and the PRODSP() dispatch routine for your application, follow these steps to build an HLC executable:

  1. On UNIX operating systems, set up your environment using the Progress BUILDENV utility. This command sets the search paths and options required with your compiler and linker to build Progress executables.
  2. Compile your copy of the hlprodsp.c source file that contains the HLC dispatch routine and the source files that contain your C functions. For more information, see the "Compiling C Source Files" section.
  3. Use the PROBUILD utility to generate a link script for your executable. The PROBUILD utility allows you to do the following:
    • Select the Progress product and configurable elements (including HLC) that you want to build into your executable.
    • Enter the filenames of your object files and hlprodsp.o in the dialog box that PROBUILD displays. The PROBUILD utility inserts the filenames in the link script it generates.
  4. Link your executable with the link script that PROBUILD generates. This step produces your HLC executable.

For more information on building Progress executables, see the Progress Client Deployment Guide .


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095