# fpc-msgbase fpc.cfg — multi-target FPC build configuration. # # 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 -Sgic # Library source roots -Fusrc -Fusrc/formats # WildCat 4 SDK (vendored under src/wc_sdk/) — only needed when building # the Wildcat backend; harmless on its own if unused. -Fusrc/wc_sdk # Output trees per target -FE./exe/$FPCTARGET -FU./units/$FPCTARGET # Cross-compile binutils prefixes #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