On 26 Jul 2010, at 14:18, Bernd Kreuss wrote: > What is the easiest way to have a second installation of FPC around that > I can easily switch to on the same machine without having to change half > a dozen paths and moving config files around?
Personally, I never actually install my development FPC versions (other than manually copying the compiler binaries under different names, since as I work on the compiler it's handy to have multiple versions for comparison purposes). I have a .fpc.cfg file in my home directory that looks more or less like this: --- #ifdef VER2_5_1 -vei -l -Fu/Data/dev/fpc/rtl/units/$fpctarget -Fu/Data/dev/fpc/packages/*/units/$fpctarget #else #ifdef VER_2_4_3 -vei -l -Fu/Data/dev/fpc-fixes/rtl/units/$fpctarget -Fu/Data/dev/fpc-fixes/packages/*/units/$fpctarget #else #include /etc/fpc #endif #endif --- You occasionally have to modify the version numbers in the #ifdef statements, but other than that it's fairly hassle-free. How to combine this with Lazarus, I don't know. Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal