13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

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.

5−130PCP Reference Manual5.4 CONTROL PROGRAM OPTIONSThe control program cc<strong>pcp</strong> facilitates the invocation of the variouscomponents of the PCP toolchain from a single command line.Some options are interpreted by the control program itself; other optionsare passed to those programs in the toolchain that accept the option.Recognized input filesThe control program recognizes the following input files:• Files with a .c suffix are interpreted as C source programs and arepassed to the compiler.• Files with a .asm suffix are interpreted as hand−written assemblysource files which have to be passed to the assembler.• Files with a .src suffix are interpreted as compiled assembly sourcefiles. They are directly passed to the assembler.• Files with a .a or .elb suffix are interpreted as library files and arepassed to the linker.• Files with a .o suffix are interpreted as object files and are passed tothe linker.• Files with a .out suffix are interpreted as linked object files and arepassed to the locating phase of the linker. The linker accepts only one.out file in the invocation.• An argument with a .lsl suffix is interpreted as a linker script file andis passed to the linker.TOOL OPTIONSNormally, the control program tries to compile, assemble, link and locateall source files to absolute object files. There are however, options tosuppress the assembler, link or locate stage.

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

Saved successfully!

Ooh no, something went wrong!