13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>Linker option: --include-directory (-I)Menu entry-Command line syntax--include-directory=path,...-Ipath,...DescriptionWith this option you can specify the path where your LSL include files are located. A relative path will berelative to the current directory.The order in which the linker searches <strong>for</strong> LSL include files is:1. The pathname in the LSL file and the directory where the LSL file is located (only <strong>for</strong> #include files thatare enclosed in "")2. The path that is specified with this option.3. The default directory $(PRODDIR)\include.lsl.ExampleSuppose that your linker script file mylsl.lsl contains the following line:#include "myinc.inc"You can call the linker as follows:lkarm --include-directory=c:\proj\include --lsl-file=mylsl.lsl test.objFirst the linker looks <strong>for</strong> the file myinc.inc in the directory where mylsl.lsl is located. If it does notfind the file, it looks in the directory c:\proj\include (this option). Finally it looks in the directory$(PRODDIR)\include.lsl.Related in<strong>for</strong>mationLinker option --lsl-file (Specify linker script file)552

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!