The /LINK compiler option

The /LINK compiler option

When the compiler is invoked with the /LINK option, for example


the linker is automatically invoked after compilation is complete (assuming, of course, that no compilation errors have occurred). The resultant object code is loaded and a corresponding .EXE file is produced (a .OBJ file is not saved). The example above would create a Win32 run file called MYPROG.EXE.

If you wish to load other relocatable binary files, in addition to that produced by compilation of the named source file, the /LIBRARY compiler option (or the corresponding directive) should be used (see Relocatable binary libraries and input files).



Copyright © 1999-2023 Silverfrost Limited