### Options Passed to the Linker by Default

When you start IBM C and C++ Compilers, it compiles the object files from your source code and then automatically starts the linker, to link the object files into an executable file or dynamic link library.

The compiler passes certain options to the linker by default:

/BASE | Specifies the starting address for the program.
/PMTYPE:VIO | Creates a program that is compatible with Presentation Manager

In addition, when you set some compiler options, equivalent linker options are set:

Compiler Option | Automatically sets:
/Fename | /OUT
/Fm | /MAP
/Ge- | /DLL
/Gk | /OLDCPP
/Gl | /OPTFUNC
/Q | /NOLOGO
/Ti | /DEBUG
/Tn | /DEBUG

To pass additional options, use the /B compiler option.

To compile without linking, you must use the /C+ compiler option.

Summary of Linker Options