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 ®les.

Using the GUI, he can attach the parser to these ®les by selecting

Modify Properties from the Actions Parts menu of the Tasks window, and completing the ®elds as shown in the following illustration:

Figure 61. Modify Part Properties window

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 ®le. The part's contents will be parsed and dependency information will be stored.

4.Connects the .c ®les into the build tree.

Using the GUI, he can connect these ®les by selectingConnect from the

Actions Parts menu of the Tasks window, and completing the ®elds 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.

Chapter 15. Building an application: an example 187

Page 207
Image 207
IBM SC34-4499-03 manual Modify Part Properties window