Software

XC8 Linker Options

Table 1. XC8 Linker Options
Option Description

-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