Compiler Options

Using the IBM C Set/2 compiler, the following command sequence is recommended:

cc /C+ /L+ /G3 /Ti+ MYPROG

The /C+ option indicates that only the compile step should be run, and not the link-edit step, which is then performed explicitly at a later point using the LINK386 utility. The /L+ option causes the compiler to produce a source listing file.

The /G3 option optimizes the code for execution on an Intel 80386 processor. The code will also execute on an 80486 processor. However, for code that will mainly be executed on 80486 hardware, use of the /G4 option is recommended. See the IBM C Set/2 User's Guide for further information.

The /Ti+ option instructs the compiler to generate symbolic debugging information which may then be used when debugging the application with the IBM C Set/2 debugging tool.


[Back: Module Definition File]
[Next: Link Edit]