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.

Tool OptionsLinker option: --whole-archiveMenu entry1. Select Linker » Miscellaneous.2. Add the option --whole-archive to the Additional options field.Command line syntax--whole-archive=fileDescriptionThis option tells the linker to directly load all object modules in a library, as if they were placed on thecommand line. This is different from libraries specified as input files or with the -l option, which are onlyused to resolve references in object files that were loaded earlier.ExampleSuppose the library myarchive.lib contains the objects my1.obj, my2.obj and my3.obj. Specifyinglkarm --whole-archive=myarchive.libis the same as specifyinglkarm my1.obj my3.obj my3.objRelated in<strong>for</strong>mationLinker option --library (Link system library)585

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

Saved successfully!

Ooh no, something went wrong!