Developer Guide and Reference

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

nostdlib

Prevents the compiler from using standard libraries and startup files when linking.

Syntax

Linux:

-nostdlib

Windows:

None

Arguments

None

Default

OFF

The compiler uses standard startup files and standard libraries when linking.

Description

This option prevents the compiler from using standard libraries and startup files 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