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>Control program option: --library-directory (-L) /--ignore-default-library-pathMenu entry1. Select Linker » Libraries.The Library search path box shows the directories that are added to the search path <strong>for</strong> library files.2. To define a new directory <strong>for</strong> the search path, click on the Add button in the Library search pathbox.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--library-directory=path,...-Lpath,...--ignore-default-library-path-LDescriptionWith this option you can specify the path(s) where your system libraries, specified with the option --library(-l), are located. If you want to specify multiple paths, use the option --library-directory <strong>for</strong> each separatepath.The default path is$(PRODDIR)\lib\architecture\endianness.If you specify only -L (without a pathname) or the long option --ignore-default-library-path, the linkerwill not search the default path and also not in the paths specified in the environment variables LIB<strong>ARM</strong>.So, the linker ignores steps 2 and 3 as listed below.The priority order in which the linker searches <strong>for</strong> system libraries specified with the option --library (-l)is:1. The path that is specified with the option --library-directory.2. The path that is specified in the environment variables LIB<strong>ARM</strong>.3. The default directory $(PRODDIR)\libarchitecture\endianness.ExampleSuppose you call the control program as follows:ccarm test.c --library-directory=c:\mylibs --library=carm660

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

Saved successfully!

Ooh no, something went wrong!