IntroductionThis document gives a guide to using the linker system to link application objects generated by the assembler.
Installing The linkerThe compiler system is written in Java and so to use it you must have a recent version of the Java runtime system installed. Once this is achieved, you should be able to sucessfully issue the following command :
Linker command line optionsThe linker has a set of input objects specified on hte command line, and an optional output file name for the final executable image. The name of the output file is a.preout if one is not specified.
The input objects are specified using the -sourcei option where i denotes the object number, counting from 0. The output file name is specified with the -target option.
Linker ErrorsThe linker may fail to resolve all the relocations for an application. This will normally be due to missing library or user application objects named on the command line. The table below specifies the errors emitted by the linker:
|Unresolved external symbol func [in file file]||There is no function func (called from file file) declared in any of the other objects.||Link with the missing object file, or correct the function name in the source program.|
|Unresolved partition p in file file||Partition p has not been declared in the object, and it is used within the object relocation requests.||Tell Dan that the assembler let one through, this should not happen.|