3.3.4.3.1 XC8 Linker Options

Table 3-8. XC8 Linker Options
OptionDescription

-nodefaultlibs

Do not link the standard C library

-Wl,-Map

Generates Map file

-Wl,-u,vfprintf

Use vprintf library

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 the path where the linker will search for dynamically linked libraries, the same interface as above

Optimization Options

-Wl,--gc-sections

Garbage collect unused sections

-mrelax

Relax branches

Miscellaneous options

Other linker flags (form field)

Input other project-specific flags