Entering content frame

Background documentation Call Options for the Precompiler Linker Locate the document in its SAP Library structure

After running the precompiler and compiling your application program, call the precompiler linker with the following options:

Options for Microsoft Windows Operating Systems

cpclnk [-<sdkver>] [-BIT32|-BIT64] [-MT|-MD|-SMT] [<link_options>] <file_name> [<object_archive>]

·        If you have installed multiple versions of the precompiler software, choose a version with <sdkver>.

Example

For example, enter –7402, if you have installed Version 7.4.02.

·        Use the options -BIT32|-BIT64 and -MT|-MD|-SMT to specify the runtime libraries that you want the linker to use.

·        Specify your linker options in <link_options>. For information on your linker, see your operating system documentation.

·        Choose a name for the executable program in <file_name>.

·        Specify the object files in <object_archive>. You can also specify the relevant path.

Options for UNIX Operating Systems

cpclnk [-P] [-s] [<link_options>] <file_name> [<object_archive>]

·        Use option –P to call the C++ linker.

·        Use option –s if you want to link the object files statically.

 

Leaving content frame