How can the compiler link modules together?

In one of two ways. Byte Craft Limited supplies BClink, an optimizing linker. BClink takes a series of object files created by the compiler, and resolves references between them to create a single executable. For more information, see the product documentation.

Our products can also link modules together using Absolute Code Mode. Essentially, the compiler reads in object files when it compiles the main module. The compiler determines the libraries to read in by noting the name of each #included header file, and searching for a similarly-named .lib file. After compiling the main module, the compiler reads in each library file, in the reverse order of the #included header files.