The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: Gunther on October 02, 2010, 02:12:53 AM

Title: Good free linker
Post by: Gunther on October 02, 2010, 02:12:53 AM
Does anyone know, if there is a good, free linker available, which works under plain DOS and can link 16 bit, 32 bit, and 64 bit segments together?

Gunther
Title: Re: Good free linker
Post by: japheth on October 03, 2010, 05:23:06 PM
Such a thing probably does not exist because there is no output format which supports all three offset sizes.

There's also no object format which supports 16-, 32- and 64-bit.

OW Wlink is the most flexible free linker, it can read both OMF and 32-bit COFF, but it won't accept 64-bit COFF.

This means that you need advanced skills to solve this problem. There is no tool ready-to-use to merge all what you want.
Title: Re: Good free linker
Post by: Gunther on October 03, 2010, 08:56:00 PM
Thank you for the information. Fortunately, MZ exe is very easy and the header can be produced with DB, DW, by using binary output from the assembler.

Gunther