Skip to content

Compiler Option O 2

Paul Squires edited this page Oct 14, 2026 · 3 revisions

Home › Compiler Option: -O

Compiler Option: -O

Set the optimization level for GCC

Syntax

-O < level >

Parameters

level

The optimization level: 0, 1, 2, 3 or max (3).

Description

Specifies the optimization level to be passed to GCC when using -gen gcc.

See also


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally