How To: Compile and link an ArcSDL program
To compile and link an ArcSDL program you need to use the GNUmakefile. This utility allows the management of platform dependencies.
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
Compiler/linker errors that occur, such as unresolved external references, may be platform-specific.