-e

Category

Linking

Pragma equivalent

None.

Purpose

Specifies an entry point for a shared object when used together with the -shared (-qmkshrobj) option.

Syntax

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

Defaults

None.

Parameters

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

Usage

Specify the -e option only with the -shared (-qmkshrobj) option.

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



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