5.7.2.5 Specs Option
The -specs=file
option allows the standard specs file to be overridden.
Spec files are plain-text files used to construct spec strings, which in turn control which programs the compiler should invoke and which command-line options they need to be passed. The compiler has a standard specs file which defines the options with which the compiler's internal applications will execute.
After the compiler reads in the standard specs file, it processes file
specified with this option in order to override the defaults that the xc32-gcc
driver program uses when building the command-line options to pass to xc32-as
, xc32-ld
, etc. More than one -specs
option can be specified on the command line, and they are processed in order, from left to right.