Skip to content
Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_GCC

FB_GCC

Intrinsic define set by the compiler

Syntax

__FB_GCC__

Description

Defined to true (-1) if -gen gcc is used, or false (0) otherwise.

Remarks

Differences from QB

  • Did not exist in QB

Examples

#if __FB_GCC__ <> 0

        #print Backend Code Emitter And Assembler: gcc

#else

        #print Backend Code Emitter And Assembler: Not gcc

#endif

Category: Intrinsic Defines
Kind: keyword


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