Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-07

select fpc version from command line make

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

Hi Lazarus wizards,

my setup (on Linux platform) is the following:

1. Production: Lazarus stable and fpc stable (currently 2.6.4). Those are the Lazarus and fpc system defaults.
2. Lazarus development: Lazarus svn trunk and fpc svn trunk (currently 2.7.1)

I have no problems selecting the appropriate Lazarus and to provide the --pcp=whatever.
I have no problems, within Lazarus, to pick up the appropriate fpc version. My fpc.cfg is the default one, i.e. with -Fu/LibPath/$fpcversion/.., meaning that each version picks up its correct unit path.

But I don't know how to build the svn version from command line (make clean bigide, or such), telling it to pick up not the system default fpc, but the other one.
In order to test patches, sometimes it's important to build from scratch, to verify what would happen in a fresh installation. Skimming through the Makefile.fpc I've not been able to find something which applies.

Can someone point me to the right direction?

Thanks,

Giuliano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140719/c64633f9/attachment.html>

Reply by email

Mattias Gaertner
to Giuliano Colla
[...] But I don't know how to build the svn version from command line (make clean bigide, or such), telling it to pick up not the system default fpc, but the other one.

make PP=/usr/lib/fpc/2.7.1/ppcx64

Mattias

Reply by email

Giuliano Colla
to Mattias Gaertner

Il 19/07/2014 11:13, Mattias Gaertner ha scritto:

Show quoted text 8 lines
On Sat, 19 Jul 2014 11:01:45 +0200 Giuliano Colla wrote: > [...] > But I don't know how to build the svn version from command line (make > clean bigide, or such), telling it to pick up not the system default > fpc, but the other one. make PP=/usr/lib/fpc/2.7.1/ppcx64

Thanks

Giuliano

Reply by email