Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-06 Thread Graeme Geldenhuys via lazarus
On 05/07/2020 6:47 am, Bo Berglund via lazarus wrote: > Still I seem not to understand this... > I do have two fpc versions installed (3.0.4 and 3.2.0). > > But I cannot find any setting for compiler in > Project/Project_Options/Compiler_Options/Build_Modes It's been a while. I thought there was

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-06 Thread Bo Berglund via lazarus
On Sun, 5 Jul 2020 20:31:16 +0200, Mattias Gaertner via lazarus wrote: >On Sun, 05 Jul 2020 10:40:11 +0200 >Bo Berglund via lazarus wrote: > >>[...] >> >See Project/Project_Options/Compiler_Options/compiler_commands in the >> >compiler section there is a combo box for the compiler command, by >>

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-05 Thread Mattias Gaertner via lazarus
On Sun, 05 Jul 2020 10:40:11 +0200 Bo Berglund via lazarus wrote: >[...] > >See Project/Project_Options/Compiler_Options/compiler_commands in the > >compiler section there is a combo box for the compiler command, by > >default it shows "$(CompPath)", but you can specify any compiler you > >wish f

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-05 Thread Bo Berglund via lazarus
On Sun, 05 Jul 2020 10:40:11 +0200, Bo Berglund via lazarus wrote: >Now I will go ahead and create a new build mode with the fpc set to >3.0.4 and see what happens. > >Question: >If I create a new build mode and save it and then move over to the >Tools menu and set some items there, vill it be sa

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-05 Thread Bo Berglund via lazarus
On Sun, 5 Jul 2020 01:44:27 -0500, "Jesus R. via lazarus" wrote: >El dom., 5 jul. 2020 a las 0:47, Bo Berglund via lazarus (< >lazarus@lists.lazarus-ide.org>) escribió: > >> But I cannot find any setting for compiler in >> Project/Project_Options/Compiler_Options/Build_Modes >> I only see these i

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-04 Thread Jesus R. via lazarus
El dom., 5 jul. 2020 a las 0:47, Bo Berglund via lazarus (< lazarus@lists.lazarus-ide.org>) escribió: > But I cannot find any setting for compiler in > Project/Project_Options/Compiler_Options/Build_Modes > I only see these items there: > - Other unit files > - Include files > - Libraries > - Unit

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-07-04 Thread Bo Berglund via lazarus
On Mon, 22 Jun 2020 17:44:20 +0100, Graeme Geldenhuys via lazarus wrote: >On 21/06/2020 6:18 am, Bo Berglund via lazarus wrote: >> Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so >> as to compare the two easily? > >Yes. There is no need for duplicate Lazarus installs. Simply

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-22 Thread Graeme Geldenhuys via lazarus
On 21/06/2020 6:18 am, Bo Berglund via lazarus wrote: > Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so > as to compare the two easily? Yes. There is no need for duplicate Lazarus installs. Simply have 2 or more FPC versions installed. I believe the build modes would help swi

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Bo Berglund via lazarus
On Sun, 21 Jun 2020 15:09:59 +0200, Mattias Gaertner via lazarus wrote: >> I changed it to /home/pi/dev/fpc/3.2.0/compiler/ppcarm > >The 'compiler' folder looks like the FPC source directory. > >When you install fpc, the path should be something like >/installbasedir/lib/fpc/3.2.0/ppcarm > Thank

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Mattias Gaertner via lazarus
On Sun, 21 Jun 2020 12:10:20 +0200 Bo Berglund via lazarus wrote: >[...] > Since Lazarus recompiles itself when one installs a new package, how > can I deal with that? The IDE uses the default fpc, set in Tools / Options / Environment / Files. Every project can use its own compiler. When you ins

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Michael Van Canneyt via lazarus
On Sun, 21 Jun 2020, Bo Berglund via lazarus wrote: On Sun, 21 Jun 2020 11:12:17 +0200 (CEST), Michael Van Canneyt via lazarus wrote: This is so, but it does not have to be a problem: you must not recompile lazarus itself using such a secondary copy. Since Lazarus recompiles itself when o

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Bo Berglund via lazarus
On Sun, 21 Jun 2020 11:12:17 +0200 (CEST), Michael Van Canneyt via lazarus wrote: >This is so, but it does not have to be a problem: you must not recompile >lazarus itself using such a secondary copy. Since Lazarus recompiles itself when one installs a new package, how can I deal with that? The

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Michael Van Canneyt via lazarus
Now you can start 2 instances of lazarus, with a different setting for the compiler version. I have 4 or 5 such versions. Thanks, that seems simple enough. :) It is. Just a follow-up: After downloading the 3.2.0 sources via svn I went into the new 3.2.0 dir and did (I am using an RPi4 c

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Bo Berglund via lazarus
On Sun, 21 Jun 2020 09:53:47 +0200 (CEST), Michael Van Canneyt via lazarus wrote: > > >On Sun, 21 Jun 2020, Bo Berglund via lazarus wrote: > >> Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so >> as to compare the two easily? > >Yes. > >Just install the new FPC alongside the

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-21 Thread Michael Van Canneyt via lazarus
On Sun, 21 Jun 2020, Bo Berglund via lazarus wrote: Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so as to compare the two easily? Yes. Just install the new FPC alongside the old one. The simplest is then to copy the lazarus settings directory, and create a shortcut w

Re: [Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-20 Thread leledumbo via lazarus
> Or do I need a complete installation Lazarus/Fpc for the two fpc versions? Just the FPC is enough. In Lazarus, you can make multiple build modes for each FPC version (set the compiler command right), respectively and set the configuration as default. That's as easy as Lazarus can get in its curr

[Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?

2020-06-20 Thread Bo Berglund via lazarus
Is it possible to switch Lazarus between using fpc 3.0.4 and 3.2.0 so as to compare the two easily? If possible, how? Or do I need a complete installation Lazarus/Fpc for the two fpc versions? -- Bo Berglund Developer in Sweden -- ___ lazarus mailing