-q64

Category

Object code control

@PROCESS

None.

Purpose

Indicates 64-bit compilation bit mode and, together with the -qarch option, determines the target machines on which the 64-bit executable will run.

The object module is created in 64-bit object format and that the 64-bit instruction set is generated. Note that you may compile in a 32-bit environment to create 64-bit objects, but you must link them in a 64-bit environment with the -q64 option.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- -q--64-----------------------------------------------------><

Defaults

Not applicable.

Rules

Examples

This example targets the POWER5 in 64-bit mode:
-q32 -qarch=pwr5 -q64

Related information