henry.vermaak at gmail.com
Wed Aug 4 12:08:56 CEST 2010
On 04/08/10 03:34, Hans-Peter Diettrich wrote:
> I've some problems with building and testing an new compiler.
> 1) The buildfaq mentions both PP= and FPC= for the compiler, to be used
> by Make. It should be made clear whether these are equivalent, or
> (better) only one option should be used across the entire FAQ.
From Makefile (line 104):
> 2) An unqualified reference (PP=mypp) most proably fails - where exactly
> does Make search for that compiler?
See Makefile from line 109 onwards. It first looks for fpc(.exe) on the
path. If it finds that, it gets the real compiler exe with -PB. If
fpc(.exe) isn't found, it tries to find ppc386(.exe) on the path.
> 5) A matter of convenience: Currently the easiest way to get both FPC
> and Lazarus up (on a Windows system) is the installation of Lazarus
> 0.9.28, including FPC 2.2.4 and all required build tools. That's the
> latest Lazarus/FPC distribution, available for almost all platforms,
> that runs off the shelf. Unfortunately the 2.2.4 compiler can not
> compile the 2.5 sources, so that another binary must be installed. In
> the worst case multiple (make and install) steps are required, until the
> 2.5 sources can be compiled by a 2.4 version - including all the RTL
> stuff. Can we get some more version compatibility?
On Windows, I usually install latest fpc release, then I check out
lazarus and build it. That's pretty simple, no?
More information about the fpc-devel