Skip to content

Compiler Option Prefix

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

Home › Compiler Option: -prefix

Compiler Option: -prefix

Set the compiler prefix path

Syntax

-prefix < path >

Parameters

path

The directory, relative or absolute to where the compiler is located.

Description

The -prefix compiler option sets the compiler prefix (where the compiler finds the bin, lib, and inc directories); and defaults to the path where the compiler resides, if this can be determined.

For more details, see on page -buildprefix, the paragraph: "Detailed behavior if using -buildprefix, -prefix, -target command line options".

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