[Lazarus] FPC compiled from latest trunk says version is 2.4.0

Marco van de Voort marcov at stack.nl
Tue Aug 17 13:52:47 CEST 2010


On Tue, Aug 17, 2010 at 12:08:47AM +0100, S?rgio Lopes wrote:
> I just compiled FPC from trunk, and though it creates the various folders with the name 2.5.1, the binary indicates it's 2.4.0. Is there anything I need to change so that binaries get compiled and give the correct version when run?
> The only switch I changed when compiling was the install folder, since I have fpc 2.4.0 installed and I didn't want to replace it.
> 
> Or is the issue a non issue and I should just ignore it?

On *nix, the ppc386 or ppcx64 is a symlink to a directory with the version
in it. This allows easy switching of versions.

Do a "which ppc386", go the relevant dir, delete the symlink, and remake it
with 2.5.1 instead of 2.4.0




More information about the Lazarus mailing list