Main

 
OTLink. Linker for DOS. September 2005.

OTLink
A Linker For MS-DOS
Programmed by Olivier Thill

OTLink is a link-edit software for DOS, more or less equivalent to Microsoft Object Linker (LINK).

It can link object files into an MZ executable file.
For more information about the structures of the ".obj" files and the ".exe" file, read The MS-DOS Encyclopedia, Microsoft Press, 1988.

OTLink is free.

Here are the source files, written in C:

Source fileShort description
OTLink.hDefinition of constants and structures.
OTLink.cParsing the command line.
OTLink1.cExtracting symbols from object files.
OTLink2.cLow level I/O routines.
OTLink3.cManaging a hash table of symbols.
OTLink4.cFirst pass for linnum, fixup, lidata, ledata, comdef, extdef, pubdef, typdef, grpdef, segdef, modend, lnames.
OTLink5.cSecond pass for fixup, lidata, ledata.

These files have been compiled with Borland C 3.1. to generate OTLink.exe (50 KB).


Go back to the home page: http://members.aol.com/OlivThill/index.htm. Write me an e-mail: OlivThill@aol.com.