Re: [Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-16 Thread patspiper
On 15/03/12 23:36, Mattias Gaertner wrote: On Thu, 15 Mar 2012 22:26:00 +0200 patspiperpatspi...@gmail.com wrote: [...] The compiler path of the IDE has already a history drop down list. I'll stick for the time being to the script as it eliminates the need to set anything in the IDE

Re: [Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-16 Thread Mattias Gaertner
On Fri, 16 Mar 2012 23:56:01 +0200 patspiper patspi...@gmail.com wrote: On 15/03/12 23:36, Mattias Gaertner wrote: On Thu, 15 Mar 2012 22:26:00 +0200 patspiperpatspi...@gmail.com wrote: [...] The compiler path of the IDE has already a history drop down list. I'll stick for the

[Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-15 Thread patspiper
As per Vincent's request, the discussion has been moved from the bug tracker to the mailing list. I will list my vague recollection of the ideas I had for brain storming purposes, as I used to cross-compile a lot (it has been some time since I haven't!), and switch different FPC versions. I

Re: [Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-15 Thread Mattias Gaertner
patspiper patspi...@gmail.com hat am 15. März 2012 um 12:26 geschrieben: As per Vincent's request, the discussion has been moved from the bug tracker to the mailing list. I will list my vague recollection of the ideas I had for brain storming purposes, as I used to cross-compile a lot (it

Re: [Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-15 Thread patspiper
On 15/03/12 13:43, Mattias Gaertner wrote: You can use macros in the IDE options. For example: export FPC_VER=2.6.1 ./lazarus Then you can use the macro $ENV(FPC_VER) in IDE options. +1 For relaunching use startlazarus: /home/me/Programs/lazarus/lazarus-svn/startlazarus

Re: [Lazarus] Issue #0020655: Ability to set environment variable at IDE launch

2012-03-15 Thread Mattias Gaertner
On Thu, 15 Mar 2012 22:26:00 +0200 patspiper patspi...@gmail.com wrote: [...] The compiler path of the IDE has already a history drop down list. I'll stick for the time being to the script as it eliminates the need to set anything in the IDE options. A script requires a restart of the