WLink: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content added Content deleted
No edit summary
 
m (See also, for anyone missing the link in the lead-in.)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
WLink is the linker that comes with Watcom C/C++. Supports a wide range of options and is flexible to a degree. The only problem is that Watcom just uses the virtual address entries of the ELF format, which can be specified at link time with the offset=0x???????? directive.
WLink is the linker that comes with [[Watcom]] C/C++. Supports a wide range of options and is flexible to a degree. The only problem is that Watcom just uses the virtual address entries of the ELF format, which can be specified at link time with the offset=0x???????? directive.


*Pros
*Pros
** Supports range of input formats, OMF/OBJ, Win32/COFF, ELF
** Supports range of input formats, OMF/OBJ, Win32/COFF, ELF
** Supports library files
** Supports library files
** Supports many output file formats from EXE, LE, Win32/PE, Novell NLM files, Pharlap files, QNX, OS2, etc.
** Supports many output file formats, from EXE, MZ, COM, LE or Win32/PE, to Novell NLM files, Pharlap files, QNX, OS2, etc.
** Handles setting code offset address
** Handles setting code offset address
** Supports Watcom, Codeview and Dward debugging information
** Supports Watcom, Codeview and Dward debugging information
** Supports flat binary files
*Cons
** Custom segment location
** Can't do flat binary files

[[Category:Linkers]]
[[Category:Linkers]]

== See Also ==

* [[Watcom]]

Latest revision as of 15:13, 1 March 2012

WLink is the linker that comes with Watcom C/C++. Supports a wide range of options and is flexible to a degree. The only problem is that Watcom just uses the virtual address entries of the ELF format, which can be specified at link time with the offset=0x???????? directive.

  • Pros
    • Supports range of input formats, OMF/OBJ, Win32/COFF, ELF
    • Supports library files
    • Supports many output file formats, from EXE, MZ, COM, LE or Win32/PE, to Novell NLM files, Pharlap files, QNX, OS2, etc.
    • Handles setting code offset address
    • Supports Watcom, Codeview and Dward debugging information
    • Supports flat binary files
    • Custom segment location

See Also