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.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>10.4. ArchiverThe archiver ararm is a program to build and maintain your own library files. A library file is a file withextension .lib and contains one or more object files (.obj) that may be used by the linker.The archiver has five main functions:• Deleting an object module from the library• Moving an object module to another position in the library file• Replacing an object module in the library or add a new object module• Showing a table of contents of the library file• Extracting an object module from the libraryThe archiver takes the following files <strong>for</strong> input and output:The linker optionally includes object modules from a library if that module resolves an external symboldefinition in one of the modules that are read be<strong>for</strong>e.10.4.1. Calling the ArchiverYou can create a library in Eclipse, which calls the archiver or you can call the archiver on the commandline.To create a library in EclipseInstead of creating an <strong>ARM</strong> absolute ELF file, you can choose to create a library. You do this when youcreate a new project with the New C/C++ Project wizard.1. From the File menu, select New » <strong>TASKING</strong> <strong>ARM</strong> C/C++ Project.The New C/C++ Project wizard appears.2. Enter a project name.3. In the Project type box, select <strong>TASKING</strong> <strong>ARM</strong> Library and clickNext >.4. Follow the rest of the wizard and click Finish.5. Add the files to your project.256

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

Saved successfully!

Ooh no, something went wrong!