C/C++ Compiler (cl.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Specifying P-Code Entry Tables (/Gp)
◄Up► ◄Contents► ◄Index► ◄Back►
─────C/C++ Compiler─────────────────────────────────────────────────────────
Syntax: /Gpnumber
With the /Gp compiler option, you can specify the maximum number
of entry tables for your program. The space between /GP and
<number> is optional. Like the other options for fine-tuning
p-code discussed in this section, the /Gp option must be used in
conjunction with the /Oq option.
An entry table is needed for every segment that contains a p-code
function or a function called by a p-code function. One entry
table can describe up to 256 such functions. If a segment contains
more than that, the Make P-Code utility (MPC) creates additional
entry tables.
NOTE: The MPC utility is invoked automatically when you specify
the /Oq option on the CL command line.
Specify /Gp<number> when you compile your source file. When the
MPC utility processes the resulting .EXE file, it creates up to
<number> entry tables. MPC returns an error if the program needs
more than <number> entry tables.
If you do not specify the /Gp option, <number> is assigned the
default value of 255. In addition to the space that the actual
entry tables take up, there is a four-byte overhead for each
possible entry table.
-♦-