HOW TO

Compile and link an ArcSDL program

Last Published: April 25, 2020

Summary

To compile and link an ArcSDL program you need to use the GNUmakefile. This utility allows the management of platform dependencies.

Procedure

The sample GNUmakefile in the module directories is the same for all platforms. The system dependencies are isolated in the make.include file, which is unique for each platform.

This GNUmakefile defines all the compiler and linker options you may need, as well as system libraries. Use this file as a template for your application makefiles; thus, your code will be compatible with ArcInfo libraries.

The components provided are:

  • The GNU make utility program
  • The /arc81obj/bin/make is usually aliased to gmake
  • The GNUmakefile in each module directory
  • The make.include file in the lib directory

    Note:
    Compiler/linker errors that occur, such as unresolved external references, may be platform-specific.

Article ID:000002052

Software:
  • ArcMap 8 x
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic