3.2.7.3.1 AVR® GCC Linker Options

Table 3-4. AVR® GCC Linker Options
OptionDescription

-Wl -nostartfiles

Do not use standard files

-Wl -nodefault

Do not use default libraries

-Wl -nostdlib

No start-up or default libraries

-Wl -s

Omit all symbol information

-Wl -static

Link statically

Libraries options

Libraries -Wl, -l (form field)

You can add, prioritize or edit library names here using these buttons:

,
,
,
,

Library search path -Wl,-L (form field)

You can add, prioritize or edit path where the linker will search for dynamically linked libraries, the same interface as above

Optimization options

-Wl, -gc-sections

Garbage collect unused sections

--rodata-writable

Put read-only data in writable spaces

-mrelax

Relax branches

Miscellaneous options

Other linker flags (form field)

Input other project-specific flags