Smlrl

From OSDev Wiki
Jump to navigation Jump to search

The Smaller C Linker (smlrl) comes with the Smaller C compiler.

About

Advantages

  • Free
  • Supported input formats: ELF (for both 16-bit and 32-bit code)
  • Supported output formats: COM, MZ, PE, ELF, MACH-O, a.out, flat
  • Can set the code address
  • Supports .a (ELF) library files

Disadvantages

  • No 64-bit support
  • Produces non-relocatable ELF and MACH-O for a given or default address (however, PE and a.out are relocatable)
  • May not work with ELF files produced by anything other than NASM, YASM, FASM
  • Strips debugging information
  • Can't create shared libraries

See Also

External