[Lazarus] how to build lazarus so that it support fpc2.7.1

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Nov 10 13:10:11 CET 2012


On Sat, 10 Nov 2012 12:40:57 +0200
Eric Kom <erickom at metropolitancollege.co.za> wrote:

> On 10/11/2012 12:14, Mattias Gaertner wrote:
> > On Sat, 10 Nov 2012 11:52:22 +0200
> > Eric Kom<erickom at metropolitancollege.co.za>  wrote:
> >
> >> Good day,
> >>
> >> Please after build fpc and  lazarus from trunk successfully, the build
> >> process of lazarus it still using fpc2.6.0 instead of fpc2.7.1. my
> >> question is, how can I build lazarus so that it support fpc2.7.1?
> >>
> >> See below the build command for lazarus from trunk
> > Pass the compiler with PP:
> >
> > make clean bigide install PREFIX=/usr/local/share/fpc2.7/
> > PP=/usr/lib/fpc/2.7.1/ppcx64
> >
> > And change in the IDE options the compiler.
> >
> > Mattias
> >
> >
> > --
> > _______________________________________________
> > Lazarus mailing list
> > Lazarus at lists.lazarus.freepascal.org
> > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> >
> Thanks a lot,
> 
> After ran the above command:
> 
> $make clean bigide install PREFIX=/usr/local/share/fpc2.7/ PP=/usr/local/bin/fpc2.7/lib/fpc/2.7.1/ppc386
> 
> I received the above error message  Can't find unit system used by fcllaz:
> 
> Free Pascal Compiler version 2.7.1 [2012/11/10] for i386
> Copyright (c) 1993-2012 by Florian Klaempfl and others
> Target OS: Linux for i386
> Compiling fcllaz.pas
> PPU Loading /usr/local/lib/fpc/2.7.1/units/i386-linux/rtl/system.ppu
> PPU Invalid Version 153
> Fatal: Can't find unit system used by fcllaz
> Fatal: Compilation aborted
> make[1]: *** [fcllaz.ppu] Error 1
> make[1]: Leaving directory
> `/home/erickom/fpcDev20121110/lazarus/packager/registration'
> make: *** [registration] Error 2

You have to install fpc in the path defined by your /etc/fpc.cfg - it
supports multiple fpc versions - or you have to write a separate config
and pass that via the @ flag.


Mattias




More information about the Lazarus mailing list