-Z

Category

Linking

Pragma equivalent

None.

Purpose

Specifies a prefix for the library search path to be used by the linker.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -Z--string-------------------------------------------------><

Defaults

By default, the linker searches the /usr/lib/ directory for library files.

Parameters

string
Represents the prefix to be added to the directory search path for library files.

Predefined macros

None.