[Lazarus] Switching Lazarus between fpc 3.2.0 and 3.0.4 - how to?
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Jul 5 20:31:16 CEST 2020
On Sun, 05 Jul 2020 10:40:11 +0200
Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> 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 for the current build mode, just select it from the list (I
> >guess this list is filled with the Most Recent Compiler List used in
> >Tools/Options/Enviroment settings).
And if not simply click on the right browse button and select the fpc
or ppcx64 of your choice.
> In Lazarus 2.0.10 at least this does not exist and is my main concern
> here. There simply is no item in this dialog concerning the compiler,
> so your compiler_commands cannot be changed.
>
> LATER:
> ------
> It turns out that in the left side tree view when opening
> Project/Project_Options the node Compiler_Options is shown at the very
> bottom but it cannot be expanded by clicking the leading arrow so only
> the first page is shown.
Never seen that. It is and was always expanded.
> By accident I double-clicked the title "Compiler Options" and then it
> expanded and showed a lot more possible options:
> - Paths
> - Config and Target
> - Parsing
> - Compilation and linking
> - Debugging
> - Verbosity
> - Messages
> - Custom options
> - Additions and overrides
> - Compiler commands
>
> So only the Paths property page was shown before and the one you refer
> to was invisible....
>
> 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 saved into the new
> build mode while keeping the old settings in the default build mode?
The build mode only contains the compiler options.
> I.e. if one create a build mode below the project settings will it be
> a globally available build mode or just specifically for the currently
> loaded project?
project only.
> I don't want to damage the default in any case.
>[...]
> I am a bit suspicious about this since Lazarus 2.0.10 is specificly
> requiring fpc 3.2.0 to rebuild itself...
> Can there really be a package set built with 3.0.4 in Lazarus 2.0.10?
Usually the package is built for either the IDE or the current
project, so a package uses the IDE or project compiler.
Mattias
More information about the lazarus
mailing list