Names – Rockwell Automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User Manual User Manual
Page 298
Advertising
![background image](/manuals/579606/298/background.png)
Using the PCBridge Software
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
Advertising