Marc Weustink wrote: > 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.
oops forgot one thing. When installed this way, the version of fpc is retrieved form the existing *installed* fpc. To tell make to use the new ppc use: * make install PREFIX=/usr/local/lib/fpc PP=/usr/local/src/fpc/compiler/ppc386 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, >> > > _______________________________________________ > Lazarus mailing list > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
