10.2 Command Line Information
Linker scripts are specified on the command line using either the -T option or the --script
option (see 9.2 Options that Control Output File Creation):
xc-dsc-ld -o output.elf output.o --script
../support/dsPIC33A/gld/p33AK128MC106.gld
If the linker is invoked through xc-dsc-gcc, add the -Wl, prefix to allow the option to be passed to the linker:
xc-dsc-gcc -o output.elf output.s -Wl,--script,
../support/dsPIC33A/gld/p33AK128MC106.gld
Linker scripts are located by using the library search path which, by default, includes the standard directories provided with the install.
