Florian Klaempfl wrote:
> Henry Vermaak schrieb:
>   
>>> How can I use lazarus to switch between those two?
>>>       
>> easiest is probably to install the ppu files to different locations,
>> then invent a custom define and add it to your fpc.cfg to switch
>> between different versions (where the -Fu paths are defined).
>>
>> you don't really need to do this if you are just worried about debug
>> info, since you can strip the debug info afterwards.
>>     
>
> This is not completetly true, when debugging it's also better to turn
> the optimizer off to get better results.
>   

Another option, not perfect, but doanle, is to use --primary-config-path
You could have to shortcuts / two startup scripts, passing a diff config 
directory to lazarus. Each would have one of the rtl-path in it's 
enviroment conf.

It does mean to restart lazarus, in order to build releases (or start a 
2nd instance).

Alternatively, you may be able to swap you fpc.cfg file, while lazarus 
is running, the next compile should pick up the new config.

Regards
Martin

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to