Software

AVR® GCC Linker Options

Table 1. AVR® GCC Linker Options
Option Description

-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