[fpc-devel] setup for testing changes between 2.0.2, 2.0.x and 2.1.1

Marco van de Voort marcov at stack.nl
Fri May 19 09:03:29 CEST 2006


> > 
> > Simply install them in different directories. I often just use -n and use 
> > -Fu on the command line to point the compiler to the right rtl. If this is 
> > to uncomfortable, you can make the configuration file conditional, it 
> > supports #ifdef constructions (check documentation).
> If you upgrade from svn, just do 'make install', then 2.0.x will be
> placed in /usr/local/lib/fpc/2.0.x and 2.1.x in /usr/local/lib/fpc/2.1.1
> 
> Change your fpc.cfg to use $fpcversion instead of 2.x.x
> 
> And make two symlinks in /usr/bin, one which is called ppc386_2_1_x and
> one which is called ppc386_2_0_x.

If you name them ppc386-2.1.1 and ppc386-2.0.2, then iirc you can choose
which one you want per compile;

fpc -V2.1.1 compileme.pp

or

fpc -V2.0.2 compileme.pp

 



More information about the fpc-devel mailing list