From RTSC-Pedia
[printable version] [offline version] | offline version generated on 27-May-2010 18:05 UTC |
XDCtools File Extensions
File extensions used by XDCtools
Contents |
Source Files
The following table lists the types of source files, other than the traditional C, C++, and assembly language files, used to create a package.
Extension | Description | Example(s) |
---|---|---|
.cfg | an application configuration script | myapp.cfg |
.bld | package build script | config.bld, package.bld |
.xdc | RTSC IDL specification file | package.xdc, MyMod.xdc |
.xs | either a meta-domain implementation of a module or interface specified by a corresponding .xdc file or a simple capsule | package.xs, MyMod.xs |
The .cfg, .bld, and .xs files are all XDCscript files and, as a result, they have the same syntax and same access to your development environment's tools. However, because these files access and manipulate very different "object models", they have unique extensions. For more information about XDCscript files, see The XDCscript Language.
Generated Files
The XDCtools build engine uses the following file extensions by default.
Extension | Description | Example |
---|---|---|
.a«suffix» | a library archive built using a target whose suffix is «suffix» | dsplib.a64P |
.o«suffix» | an object file built using a target whose suffix is «suffix» | fft.o64P |
.s«suffix» | an assembly-language file suitable as input to a target whose suffix is «suffix» | fft.s64P |
.x«suffix» | an executable built using a target whose suffix is «suffix» | hello.x64P |
All files in the ./package sub-directory of a package are generated (or derived) from source files contained in other parts of the package. The table below lists the file extensions of those files that you may need to reference from your source code or makefiles.
Extension | Description | Example |
---|---|---|
.xdl | target-specific linker command file for the executable «exe» | package/cfg/«exe».xdl |
.xdc.h | C header containing internal implementation definitions for the module «Mod» | package/internal/«Mod».xdc.h |
The table below lists some other file extensions you might observe in the the package sub-directory but which are purely for internal use.
Extension | Description | Example |
---|---|---|
.dep | GNU make makefile dependencies used to trigger a rebuild of of selected files | package/lib/myfile.dep |
.xdc.inc | tar (or zip) file manifest used to build a release of a package | package/package.xdc.inc |
.mak | GNU make makefile containing rules for creating new types of files from source files | package.mak, package/lib/mylib.mak |
«pkg».sch | the package's "schema" file; a compiled version of the .xdc files | package/«pkg».sch |
.bld.xml | XML file describing the result of the package.bld script and conforms to the XML DTD "schema" xdc/bld/build.dtd | package/package.bld.xml |
.rel.xml | XML file describing this package release and conforms to the XML DTD "schema" xdc/bld/release.dtd | package/package.rel.xml |
.cfg.xml | XML file describing the result of the configuration step | package/cfg/«exe».cfg.xml |
.rta.xml | XML file containing configuration-time information required to support the RTA tooling | package/cfg/«exe».rta.xml |
.rov.xs | XDCscript file containing configuration-time information required to support the ROV tooling | package/cfg/«exe».rov.xs |
[printable version] [offline version] | offline version generated on 27-May-2010 18:05 UTC |