### /G Compiler Option

Syntax: | Default:
/G[3|4|5] | /qtune=blend

Use /G to specify the type of processor your code will run on.

Note: The /qtune option provides more functionality than that offered by /G. Use /qtune instead.

By default, the compiler generates code targeted to all x86 processors. This is equivalent to /qtune=blend.

You can specify the following processors:

/G3 | Optimize code for any 386-class processor. /qtune=386 is equivalent to /G3.
/G4 | Optimize code for any 486-class processor. /qtune=486 is equivalent to /G4.
/G5 | Optimize code for the Pentium processor. /qtune=pentium is equivalent to /G5.

Note: To optimize code for the PentiumII or PentiumPro processors, you must specify /qtune=pentium2.

Summary of Compiler Options