MAX_SEGBIG

Maximum code segment size before SEGBIG warning

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

MAX_SEGBIG enables you to cause a SEGBIG warning based on a user-defined value.

The maximum size of a code segment before a SEGBIG warning is generated.

When a program segment exceeds 65535, a fatal SEGBIG error occurs. MAX_SEGBIG allows you to specify a smaller size for which you would like to receive a warning. If MAX_SEGBIG is set, a level 3 W_SEGBIG warning will occur for each code segment that exceeds the specified value.

The environment.

Traditional compiler

On Unix,

MAX_SEGBIG=50000    ;export MAX_SEGBIG