Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

nodefaultlibs

Prevents the compiler from using standard libraries when linking.

Syntax

Linux:

-nodefaultlibs

Windows:

None

Arguments

None

Default

OFF

The standard libraries are linked.

Description

This option prevents the compiler from using standard libraries when linking.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None

See Also