[Lazarus] Proposal for changing fpc version on the fly in the IDE
Henry Vermaak
henry.vermaak at gmail.com
Thu Aug 22 16:26:07 CEST 2013
On Thu, Aug 22, 2013 at 05:12:04PM +0300, patspiper wrote:
> On 22/08/13 16:23, Mark Morgan Lloyd wrote:
> >I usually add a couple of symlinks in /usr/local/bin e.g. ppcsparc
> >-> ppcsparc-2.6.2 and ppcsparc-2.6.2 ->
> >/usr/local/lib/fpc/2.6.2/ppcsparc. The fpc binary will be the one
> >installed by the most recent build.
>
> You are tweaking your system unnecessarily. Just make sure that both
> folder paths are exported and forget about any symlinks. That's by
> far more flexible, easily upgradeable, and less prone to errors.
Executing `fpc -V<versionstr>` will call <ppcbin>-<versionstr>, so those
symlinks are actually quite useful if you want to use different compiler
versions.
Henry
More information about the Lazarus
mailing list