IBM SC34-4499-03 Personal Computer User Manual


 
teamc part -create hello.obj bye.obj -builder c_compiler -binary -empty
-release 9503 -workarea 223 -component comp1 -parent msgcat.exe -input
teamc part -create hello.h bye.h -release 9503 -workarea 223
3. Attaches the parser c_parser to the .c files.
Using the GUI, he can attach the parser to these files by selecting
Modify Properties from the Actions Parts menu of the Tasks window, and
completing the fields as shown in the following illustration:
Using the command-line interface, he can attach the parser to these parts by
issuing the following command:
teamc part -modify hello.c bye.c -parser c_parser -release 9503
-workarea 223
Remember, the parser is attached to an
input
file. The part’s contents will be parsed
and dependency information will be stored.
4. Connects the .c files into the build tree.
Using the GUI, he can connect these files by selecting Connect from the
Actions Parts menu of the Tasks window, and completing the fields as shown in
the following illustration. He needs to execute this function twice: once to connect
hello.c to hello.obj and once to connect bye.c to bye.obj.
Figure 61. Modify Part Properties window
Chapter 15. Building an application: an example 187