[Lazarus] Using latest FPC devel version with Lazarus
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Nov 17 22:17:38 CET 2009
On Tue, 17 Nov 2009 21:51:20 +0200
Juha Manninen <juha.manninen at phnet.fi> wrote:
> On tiistai, 17. marraskuuta 2009 16:52:34 Reimar Grabowski wrote:
> > On Tue, 17 Nov 2009 15:17:52 +0200
> >
> > Juha Manninen <juha.manninen at phnet.fi> wrote:
> > > > There are scripts to create debian/ubuntu/fedora/redhat packages for
> > > > this in lazarus/tools/install.
> > >
> > > Ok, there is no real easy way then.
> >
> > How can it get any easier than that?
>
> Well, still easier would be to just configure Lazarus to use the new FPC
> compiler and its source directory straight from the svn tree.
The FPC sources are a big collection supporting more than 20 targets.
Only the 'install' knows what files belong to the current target and
this changes constantly. Lazarus would need to emulate the install
process to find out which sources are the right one.
Of course you can write some rules to support a common subset of
sources for some common targets.
If someone wants to write and maintain that, it can be added.
> Making .rpm package feels little useless because all the needed files are
> already in my computer and then I would install the package into this same
> computer.
>
> An extra complication is that this is not debian/ubuntu/fedora/redhat but this
> is OpenSuse. Fedora packages would most likely work but I can't be sure.
OpenSuse packages work the same. Only the gtk packages have different
names. But I don't have an OpenSuSE to test, so I don't maintain the
script for this.
> Anyway, it is not a big problem. I will look at the FPC devel version later.
> I believe I could install the latest FPC with some effort but Lazarus compiles
> fine with the older ones.
Yes. You can use the last released, the current release candidate or
the current developer version of fpc.
> OpenSuse advertised their build servers which should make it easier to build
> and deliver packages for every Suse user. I don't know how it works but
> someone could put there also the devel versions of FPC and Lazarus. Release
> versions are available already.
If someone finds out, and it is easy enough I can adapt the script to
support OpenSuSE.
Mattias
More information about the Lazarus
mailing list