-qcrt, -nostartfiles (-qnocrt)

Category

Linking

Pragma equivalent

None.

Purpose

When -qcrt is in effect, the system startup routines are automatically linked. When -nostartfiles (-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 are 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
>>- -nostartfiles----------------------------------------------><

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

Defaults

-qcrt

Predefined macros

None.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us