Skip to content

Compiler Option R 2

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

Home › Compiler Option: -R

Compiler Option: -R

Preserve intermediate *.asm/*.c/*.ll file(s) generated by compilation

Syntax

-R

Description

The -R compiler option causes the intermediate *.asm/*.c/*.ll file(s) that are generated during the compile process to be preserved. Other than that, compilation is performed as usual. Which files are generated exactly depends on the used code generation backend and compilation target.

When compiling a Windows DLL, -R also preserves the intermediate *.def file used for generating the import library for the DLL.

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