Skip to content

Compiler Option Lib

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

Home › Compiler Option: -lib

Compiler Option: -lib

Create a static library

Syntax

-lib

Description

The -lib compiler option creates a static library.

The intrinsic macro __FB_OUT_LIB__ is set to non-zero (-1) if the -lib option was specified, and set to zero (0) otherwise.

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