Jump to content

Useful LD linker flags

From My Second Brain
Revision as of 17:43, 16 March 2026 by WikiSysop (talk | contribs) (Created page with "{| class="wikitable" |+ !Flag !What it does |- | -m elf_i386 |Generate 32-bit ELF files |- | -nostdlib |Don't include the standard library |- | -T{linker file} |Tell LD where the LD file is |}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Flag What it does
-m elf_i386 Generate 32-bit ELF files
-nostdlib Don't include the standard library
-T{linker file} Tell LD where the LD file is