
Appendix D
D-20
List Names to stdout or file
Syntax
names <names> /* list names to stdout */
or
names <names> [><fname>] /* redirect to a file */
Function
If <fname> is omitted, names lists the names specified on the command
line to
stdout. Otherwise, names redirects the output to the file specified
by <fname>. You can use this command to create a file for use by the
compiler/assembler/linker.
Options
None
Examples
The following example creates a file called CPPFILE and uses it during
the pre-processor phase of the compiler.
C:\> names -v=\OSK\DEFS -v=\C600\DEFS -v=\USR\DEFS >cppfile
C:\> xcc -q -po=“-z=cppfile” -r=RELS file.c
CPPFILE contains the following lines:
-v=\OSK\DEFS
-v=\C600\DEFS
-v=\USR\DEFS
names
Komentáře k této Příručce