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.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C compiler option: --dep-fileMenu entryEclipse uses this option in the background to create a file with extension .d (one <strong>for</strong> every input file).Command line syntax--dep-file[=file]DescriptionWith this option you tell the compiler to generate dependency lines that can be used in a Makefile. Incontrast to the option --preprocess=+make, the dependency in<strong>for</strong>mation will be generated in addition tothe normal output file.By default, the in<strong>for</strong>mation is written to a file with extension .d (one <strong>for</strong> every input file). When you specifya filename, all dependencies will be combined in the specified file.Examplecarm --dep-file=test.dep test.cThe compiler compiles the file test.c, which results in the output file test.src, and generatesdependency lines in the file test.dep. For example:test.obj : test.ctest.c :test.obj : /carm/include/stdio.h/carm/include/stdio.h :test.obj : /carm/include/stdarg.h/carm/include/stdarg.h :Related in<strong>for</strong>mationC compiler option --preprocess=+make (Generate dependencies <strong>for</strong> make)310

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

Saved successfully!

Ooh no, something went wrong!