Properties, C/C++ Settings, Tools Settings, GCC Linker, General

Set the linker general settings

Option Description
Do not use standard start files (-nostartfiles) Do not use the standard system startup files when linking.
Do not use default libraries (-nodefaultlibs) Do not use the standard system libraries when linking.
No startup or default libs (-nostdlib) Do not use the standard system startup files or libraries when linking.
Omit all symbol information (-s) Remove all symbol table and relocation information from the executable.
Discard unused sections (-Wl,--gc-sections) Enable garbage collection of unused input sections.
Print discarded sections (-Wl,--print-gc-sections) List all sections removed by garbage collection.
Generated Map (-Wl,-Map=) Print a link map to the file mapfile.
Linker Scripts (-T) Use the seleted file as the linker script. Required when linking to avoid references to undefined symbols.