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 OptionsControl program option: --library (-l)Menu entry1. Select Linker » Libraries.The Libraries box shows the list of libraries that are linked with the project.2. To add a library, click on the Add button in the Libraries box.3. Type or select a library (including its path).4. Optionally, disable the option Link default libraries.Use the Edit and Delete button to change a library name or to remove a library from the list.Command line syntax--library=name-lnameDescriptionWith this option you tell the linker via the control program to use system library name.lib, where nameis a string.The linker first searches <strong>for</strong> system libraries in any directories specified with --library-directory,then in the directories specified with the environment variables LIB<strong>ARM</strong>, unless you used the option--ignore-default-library-path.ExampleTo search in the system library carm.lib (C library):ccarm test.obj mylib.lib --library=carmThe linker links the file test.obj and first looks in library mylib.lib (in the current directory only),then in the system library carm.lib to resolve unresolved symbols.Related in<strong>for</strong>mationControl program option --no-default-libraries (Do not link default libraries)Control program option --library-directory (Additional search path <strong>for</strong> system libraries)Section 8.3, Linking with Libraries621

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

Saved successfully!

Ooh no, something went wrong!