Configuring the linker

 

 

·        Output file name. This defaults to a file under the sources directory where the binary files are stored. You can put another path if you wish that the linker output goes somewhere else

·        Additional libraries. Here you put a series of libraries you may need separated by spaces.

·        Generate a map file. A file containing the address of each procedure will be generated and helps you out to decipher cryptic addresses when a trap occurs.

·        Do not include underscores in dll exports. This is useful for DLLs that will be used by VB.

·        Type of output. It can be one of: "windows application", i.e. a windows program, a "console" application that runs under a shell window, a DLL or a static library.

·        Additional arguments. Here you should add the .def file if you are building a DLL

The entry point can be changed if the output of the linker is a DLL. Otherwise the entry point is fixed: main() for a console application, and WinMain for a windows application.