[fpc-devel] fpcmkcfg and fpc.cfg questions

Bart bartjunk64 at gmail.com
Mon Mar 25 11:48:32 CET 2019


On Mon, Mar 25, 2019 at 10:45 AM Joost van der Sluis <joost at cnoc.nl> wrote:

> To create a working fpc.cfg, you have to provide the %basepath% on the
> command-line. (There are a few build-in macro's, you can see them using
> 'fpcmkcfg -m')

fpcmkcfg -d does not show the existence of a build-in BASPEPATH though.

C:\pp\bin\i386-win32>fpcmkcfg -m
BUILDDATE=25-3-2019
BUILDTIME=11:45:25
COMPILERCONFIGDIR={LocalRepository}config/
FPCBIN=fpc
FPCTARGET=i386
FPCTARGETOS=Win32
FPCVERSION=3.3.1
LOCALBASEPATH=$LOCAL_APPDATA\FreePascal\fppkg   //odd name for fppkg
specific folder?
LOCALREPOSITORY={AppConfigDir}
NEEDCROSSBINUTILSIFDEF=#IFNDEF CPUI386
#IFNDEF CPUAMD64
#DEFINE NEEDCROSSBINUTILS
#ENDIF
#ENDIF

#IFNDEF Win32
#DEFINE NEEDCROSSBINUTILS
#ENDIF
PWD=C:\pp\bin\i386-win32


-- 
Bart



More information about the fpc-devel mailing list