[Lazarus] using two versions of RTL from lazarus
lazarus at mfriebe.de
Mon Nov 10 11:52:17 CET 2008
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
It does mean to restart lazarus, in order to build releases (or start a
Alternatively, you may be able to swap you fpc.cfg file, while lazarus
is running, the next compile should pick up the new config.
More information about the Lazarus