Skip to content

Compiler Option P

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

Home › Compiler Option: -p

Compiler Option: -p

Add a path to search for libraries

Syntax

-p < library path >

Parameters

library path

The directory path, relative or absolute, of where to search for library files.

Description

The -p compiler option adds a path to search for libraries. By default, libraries are looked for in the system FreeBASIC libraries directory and in the current directory.

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