[Lazarus] compiling Lazarus from svn

Reinier Olislagers reinierolislagers at gmail.com
Tue Mar 13 08:12:30 CET 2012


On 13-3-2012 7:49, Richard Mace wrote:
> Hi All,
> I've just installed lazarus via svn trunk, and installed fpc binary from
> source forge.
> When I read the instructions online on how to install Lazarus from SVN,
> they tell me to change to the Lazarus directory, and then run "make",
> however, I don't have a "make" command.
> Am I missing something silly?
> 
> Thanks in advance
> 
> Richard

Yep, the binutils (make, ar, as, etc).

You can download them from the FPC site, but it might be easier to just
install the recently released 0.9.30.4 release candidate, and copy the
files in c:\lazarus\bin\i386-win32 (except the compiler files) to
another directory, then add that to your path.

Now you have a (hopefully) working Lazarus install, and you can create a
parallel install from trunk: get the fpc and lazarus sources in a
different directory.
Run make etc...

At the end, create a settings directory for your new Lazarus (e.g. mkdir
%localappdata%\lazarustrunk) then use startlazarus
--primary-config-path=%localappdata%\lazarustrunk to run your new Lazarus.
Check the paths to the fpc trunk compiler.

Voila, separate "stable" and "testing" environments...

Or... have a look at my fpcup tool ;)

Regards,
Reinier




More information about the Lazarus mailing list