5.7.11.1 B: Specify Compiler Component Search Path Option
The -Bprefix
option specifies a path where executables,
libraries, include files and compiler data files can be found.
The compiler driver runs one or more of the internal applications
xc32-cpp
, xc32-as
and xc32-ld
. It tries
prefix
as a prefix for each application it tries to
run.
For each application to be run, the compiler driver first tries adding
prefix
. If the application cannot be found, the
driver searches the search paths specified by the PATH
environment
variable for the application.
If prefix
specifies a directory name, this path also
applies to libraries used by the linker, because the driver translates this into
-L
options for the linker. This also applies to include file search
paths, because the compiler translates these options into -isystem
options
for the preprocessor. In this case, the compiler appends include
to the
prefix.