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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tool OptionsAssembler option: --include-directory (-I)Menu entry1. Select Assembler » Include Paths.The Include paths box shows the directories that are added to the search path <strong>for</strong> include files.2. To define a new directory <strong>for</strong> the search path, click on the Add button in the Include paths box.3. Type or select a path.Use the Edit and Delete button to change a path or to remove a path from the list.Command line syntax--include-directory=path,...-Ipath,...DescriptionWith this option you can specify the path where your include files are located. A relative path will berelative to the current directory,The order in which the assembler searches <strong>for</strong> include files is:1. The pathname in the assembly file and the directory of the assembly source.2. The path that is specified with this option.3. The path that is specified in the environment variable AS<strong>ARM</strong>INC when the product was installed.4. The default directory $(PRODDIR)\include.ExampleSuppose that the assembly source file test.src contains the following lines:.INCLUDE 'myinc.inc'You can call the assembler as follows:asarm --include-directory=c:\proj\include test.srcFirst the assembler looks <strong>for</strong> the file myinc.inc in the directory where test.src is located. If it doesnot find the file, it looks in the directory c:\proj\include (this option). If the file is still not found, theassembler searches in the environment variable and then in the default include directory.507

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

Saved successfully!

Ooh no, something went wrong!