-qcrt

Category

Linking

Pragma equivalent

None.

Purpose

Specifies whether system startup files are to be linked.

When -qcrt is in effect, the system startup routines are automatically linked. When -qnocrt is in effect, the system startup files are not used at link time; only the files specified on the command line with the -l flag will be linked.

This option can be used in system programming to disable the automatic linking of the startup routines provided by the operating system.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-crt---.   
>>- -q--+-nocrt-+----------------------------------------------><

Defaults

-qcrt

Predefined macros

None.

Related information