[fpc-pascal] A patched unit overriding the default - like Delphi supports

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Jun 17 12:09:16 CEST 2010


Op 2010-06-17 12:01, Marco van de Voort het geskryf:
> 
> Of a snapshot or of a release?

FPC 2.4.1 fixes branch from repository. Compiled two weeks ago with the
following script.

---------------------------
#!/bin/bash

COMPILER=/opt/fpc_2.4.1/x86_64-linux/bin/ppcx64

cd src
make all PP=$COMPILER
make install INSTALL_PREFIX=/opt/fpc_fixes_svn/x86_64-linux/ PP=$COMPILER
---------------------------


As far as I know the RELEASE define was being set when I compiled the FPC
itself - automatically managed by the makefile.

That is probably why the newer "fixes" path in the ~/.fpc.cfg did not make
any difference - not 100% sure. Either way, it's easy enough (and my
preference) to rather add the overriding new fixes path to whichever
Lazarus Package or Project needs it. All other projects still use default
FPC units.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list