Skip to main content
Glama

Delphi Build Server

by flydev-fr

fpc.build

Compile Pascal programs or projects using the Free Pascal Compiler (FPC). Specify source files, target CPU/OS, unit paths, and conditional defines to generate binaries efficiently.

Instructions

Build with Free Pascal Compiler (fpc) for a Pascal program or project file

Input Schema

NameRequiredDescriptionDefault
cpuNoTarget CPU, e.g. x86_64, i386, aarch64
definesNoConditional defines, e.g. FOO=1
fpcPathNoPath to fpc compiler (defaults to "fpc")
includePathsNoAdditional include search paths (-Fi)
osNoTarget OS, e.g. win64, win32, linux
outputNoOptional output binary path/name
sourceYesPath to a Pascal program (.lpr/.pas) or unit to compile with FPC
unitPathsNoAdditional unit search paths (-Fu)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cpu": { "description": "Target CPU, e.g. x86_64, i386, aarch64", "type": "string" }, "defines": { "description": "Conditional defines, e.g. FOO=1", "items": { "type": "string" }, "type": "array" }, "fpcPath": { "description": "Path to fpc compiler (defaults to \"fpc\")", "type": "string" }, "includePaths": { "description": "Additional include search paths (-Fi)", "items": { "type": "string" }, "type": "array" }, "os": { "description": "Target OS, e.g. win64, win32, linux", "type": "string" }, "output": { "description": "Optional output binary path/name", "type": "string" }, "source": { "description": "Path to a Pascal program (.lpr/.pas) or unit to compile with FPC", "type": "string" }, "unitPaths": { "description": "Additional unit search paths (-Fu)", "items": { "type": "string" }, "type": "array" } }, "required": [ "source" ], "type": "object" }
Install Server

Other Tools from Delphi Build Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/flydev-fr/mcp-delphi'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server