[Lazarus] FPC 2.3.x and Lazarus

Marc Weustink marc at dommelstein.net
Sat Jul 12 11:53:29 CEST 2008


Thierry Andriamirado wrote:
> Le vendredi 11 juillet 2008 à 15:27 +0000, Antonio Sanguigni a écrit :
> 
> 
>> so may I have both compiler versions ? What about path clashes ? 
> 
> I have 2 fpc & 2 lazarus installed on my Ubuntu box, and I have no
> particular problem. 
>  
> fpc: once your svn update is finished, in, say /usr/local/src
> directory, 
> * 'make all'
> * then 'make zipinstall'

what you also can do instead of make zipinstall is
* make install PREFIX=/usr/local/lib/fpc

or as I do,
* make install PREFIX=~
this wat it installs the lib, bin dirs in my homedir.

Marc



> 
> note that I didn't do any system-wide install of the svn version of fpc.
> the zipinstall will create a big zipfile, for eg.
> 'fpc-2.3.1.x86_64-linux.tar.gz'.
> 
> * unzip the '/lib/fpc' directory to '/usr/local/lib/fpc'
> * check that your '/etc/fpc.cfg' file contains something like:
> 
> # searchpath for units and other system dependent things
> -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget
> -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/*
> -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/rtl
> 
> * Configure Lazarus accordingly, so it uses the svn fpc binary and so
> on..
> 
> You can find the multiple lazarus HowTo on
> http://wiki.lazarus.freepascal.org/Multiple_Lazarus
> 
>> I'm using Arch Linux. I had a look at fpc 2.2.0 PKGBUILD, I should try
>> to create one for 2.3.x .
> 
> As I said, I mainly use Ubuntu & Debian, but it'd work..
> 
> Best,
> 




More information about the Lazarus mailing list