[Lazarus] Using different FPC versions
patspiper
patspiper at gmail.com
Mon Feb 10 19:52:42 CET 2014
On 10/02/14 20:31, Mattias Gaertner wrote:
> On Mon, 10 Feb 2014 20:20:40 +0200
> patspiper <patspiper at gmail.com> wrote:
>
>> On 10/02/14 20:09, Mattias Gaertner wrote:
>>> On Mon, 10 Feb 2014 19:45:44 +0200
>>> patspiper <patspiper at gmail.com> wrote:
>>>
>>>> [...]
>>> And how can I select the right sub tools like fpcres? I still need to
>>> specify the PATH, don't I?
>> When a fully qualified path for the fpc executable is specified in the
>> IDE options, aren't tools such as fpcres searched for over there?
> Maybe, but fpcres is not there.
In my installation (Linux/manual compilation ie not package installer)
fpcres is in the same folder as fpc.
>
>
>> compiler path: <fullpathtofpc>/fpc
>> additional switches: -Xp../lib/fpc/$(FPCVER)
>>
>> The above will allow you to change the path of the fpc executable
>> explicitly, and the ppcxxx path follows implicitly due to the -Xp switch.
> fpcres is not installed under /usr/lib/fpc, but under /usr/bin/.
In case it is in /usr/bin, then it is in the standard PATH, so no
worries here. But it is not wise to have multiple fpc version with one
of them in the standard PATH.
Stephano
More information about the Lazarus
mailing list