From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Command - xdcdir
eXpanDed C print package name or repository
Contents |
Synopsis
xdcdir [-t[a]] base_dir ...
where base_dir is a package's base directory.
Description
The xdcdir command prints a package's name in dot format (e.g., ti.platforms.sim62xx) or its relative repository path (e.g., ../../../) for the specified base directories.
% xdcdir .../packages/xdc/runtime xdc.runtime
% xdcdir -t .../packages/xdc/runtime ../..
% xdcdir -ta .../packages/xdc/runtime /home/user/xdctools_3_15_00_14/packages
This command is particularly useful in makefiles that want to avoid hard coding paths to directories that are a fixed relative position from a package's repository; changing a package's name does not require changing the makefile.
Options
- -t
- rather than the package's name, print the package's repository relative to the specified base directory.
- -ta
- print the package's repository as an absolute path.
Exit Status
The following exit values are returned:
- 0 Successful completion.
- > 0 An error occurred.
Error messages are output to stderr.
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved