[fpc-devel] buildfaq
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Wed Aug 4 04:34:05 CEST 2010
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.
2) An unqualified reference (PP=mypp) most proably fails - where exactly
does Make search for that compiler?
3) Is it possible to give the new compiler an specific name, during
Make, so that the original compiler is not inadvertently overwritten by
a buggy version?
4) How does FPC handle different targets? IMO every target is
implemented in a specific executable, so how does pp or fpc proceed when
it is invoked with an target specifier, that it cannot handle itself?
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?
Thanks
DoDi
More information about the fpc-devel
mailing list