### /Gr Compiler Option (OS/2)

Syntax: | Default:
/Gr[+|-] | /Gr-

Use /Gr to generate object code that runs at ring 0. Use this option if you are writing code, such as operating systems, that will run at ring 0 instead of ring 3.

Note: To use /Gr, you must also specify /Rn.

By default, object code is not allowed to run at ring 0.

Summary of Compiler Options
Developing Virtual Device Drivers in OS/2