Files
fpc-msgbase/fpc.cfg

54 lines
1.2 KiB
INI

# message_api fpc.cfg — mirrors the Allfix template.
#
# Pulls compiler-bundled RTL paths from /opt/fpcup, then adds the library
# source roots so callers can build with a single -Fucfg=fpc.cfg.
#IFNDEF FPC_CROSSCOMPILING
#IFDEF LINUX
#INCLUDE /opt/fpcup/fpc/bin/x86_64-linux/fpc.cfg
#ENDIF LINUX
#IFDEF OS2
#INCLUDE P:\fpc\bin\os2\fpc.cfg
#ENDIF OS2
#IFDEF DOS
-Fuc:\pp/units/i386-$FPCTARGET/
-Fuc:\pp/units/i386-$FPCTARGET/*
-Fuc:\pp/units/i386-$FPCTARGET/rtl
#ENDIF DOS
#ELSE
-Fu/opt/fpcup/fpc/units/$FPCTARGET/rtl
-Fu/opt/fpcup/fpc/units/$FPCTARGET/*
#ENDIF
# Allow GOTO/LABEL, inline, C-operators (matches Allfix dialect)
-Sgic
# Library source roots
-Fusrc
-Fusrc/formats
# WildCat 4 SDK (copied from Allfix wc_dev/) — only needed when building
# the Wildcat backend; harmless on its own.
-Fusrc/wc_sdk
# Output trees per target
-FE./exe/$FPCTARGET
-FU./units/$FPCTARGET
# Cross-compile binutils prefixes (mirrors Allfix)
#IFDEF FPC_CROSSCOMPILING
#IFDEF CPUI386
#IFDEF OS2
-FD/opt/fpcup/cross/i386-pc-os2-emx
-XPi386-emx-
-k-e
-k0x10000
#ELSE
-FD/opt/fpcup/cross/bin
-XP$FPCTARGET-
#ENDIF OS2
#ENDIF CPUI386
#ENDIF FPC_CROSSCOMPILING
-Xs