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.

Chapter 10. Using the UtilitiesThe <strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> comes with a number of utilities:ccarmmkarmamkararmA control program. The control program invokes all tools in the <strong>toolset</strong> and lets you quicklygenerate an absolute object file from C and/or assembly source input files. Eclipse usesthe control program to call the compiler, assembler and linker.A utility program to maintain, update, and reconstruct groups of programs. The make utilitylooks whether files are out of date, rebuilds them and determines which other files as aconsequence also need to be rebuilt.The make utility which is used in Eclipse. It supports parallelism which utilizes the multiplecores found on modern host hardware.An archiver. With this utility you create and maintain library files with relocatable objectmodules (.obj) generated by the assembler.hldumparm A high level language (HLL) object dumper.With this utility you can dump in<strong>for</strong>mation aboutan absolute object file (.abs) . Key features are a disassembler with HLL source intermixingand HLL symbol display and a HLL symbol listing of static and global symbols.expirearmA utility to limit the size of the cache by removing all files older than a few days or byremoving older files until the total size of the cache is smaller than a specified size.10.1. Control ProgramThe control program is a tool that invokes all tools in the <strong>toolset</strong> <strong>for</strong> you. It provides a quick and easy wayto generate the final absolute object file out of your C/C++ sources without the need to invoke the compiler,assembler and linker manually.Eclipse uses the control program to call the C++ compiler, C compiler, assembler and linker, but you cancall the control program from the command line. The invocation syntax is:ccarm [ [option]... [file]... ]...Recognized input files• Files with a .cc, .cxx or .cpp suffix are interpreted as C++ source programs and are passed to theC++ compiler.• Files with a .c suffix are interpreted as C source programs and are passed to the compiler.• Files with a .asm suffix are interpreted as hand-written assembly source files which have to be passedto the assembler.• Files with a .src suffix are interpreted as compiled assembly source files. They are directly passed tothe assembler.• Files with a .lib suffix are interpreted as library files and are passed to the linker.• Files with a .obj suffix are interpreted as object files and are passed to the linker.235

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

Saved successfully!

Ooh no, something went wrong!