Skip to content

Compiler Option Wa

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

Home › Compiler Option: -Wa

Compiler Option: -Wa

Pass options to the assembler when using the assembly emitter (-gen gas).

Syntax

-Wa < options >

Parameters

options

Additional options to pass to the assembler.

Description

The -Wa compiler option passes additional options to GAS, the assembler. Options must be separated by commas only. The -Wa compiler option may be specified multiple times on the command line.

For example:

fbc -Wa -o,output.o,--verbose
fbc -Wa -o -Wa output.o -Wa --verbose

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