-e

Category

Linking

Pragma equivalent

None.

Purpose

When used together with the -qmkshrobj or -G option, specifies an entry point for a shared object.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -e----entry_name-------------------------------------------><

Defaults

Not applicable.

Parameters

name
The name of the entry point for the shared executable.

Usage

Specify the -e option only with the -qmkshrobj or -G option. For more information, see the description for -qmkshrobj.

Note: When you link object files, do not use the -e option. The default entry point of the executable output is __start. Changing this label with the -e flag can produce errors.

Predefined macros

None.

Related information