Types of Target Files

The files produced by a VisualAge C++ build are specified in the configuration file. The target directive controls the name and type of the target of a build.

The following table shows the common target types recognized by VisualAge C++ builds. If a type is not recognized in the type clause on all platforms, the platforms to which it applies are shown in the first column. The file extensions associated with each target type are shown in the second column. To make your configuration file compatible with many platforms, types specified in the type clause are mapped onto different file extensions if required by the target platform.

type Clause File Extension Type of Target
a a static library
dld dld dynamic loadable driver
dll dll
shr
dynamic link library
shared library
exe exe executable
lib lib
a
static library
o o object file
obj obj
o
object file
pdd pdd physical device driver
shr shr shared library
so so shared object
vdd vdd virtual device driver

OS/2 and Windows NT operating systems use file extension .dll for DLLs and file extension .exe for executable programs. You should not override these types or use their file extensions for other kinds of targets.


Configuration Files
Static and Dynamic Libraries
Developing Virtual Device Drivers on OS/2


Change a Build Setup
Add or Change Targets
Build
Build Static Libraries
Build Dynamic Link Libraries
Produce Object Files from a Build


target Configuration File Directive
Types of Source Files