Skip to content

Compiler Option R

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

Home › Compiler Option: -r

Compiler Option: -r

Compile into *.asm/*.c/*.ll file(s) only, do not assemble or link

Syntax

-r

Description

The -r option specifies that any source files listed are to be compiled to *.asm/*.c/*.ll files, depending on the used code generation backend, and not compiled or linked into an executable.

When using the -r option, -m must be specified when compiling the main module.

Use the -R option to preserve intermediate files without affecting compilation/assembling/linking.
Use the -rr option to compile input source files to *.asm regardless of the code generation backend.

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