[Lazarus] Building Lazarus for Windows

Marcos Douglas md at delfire.net
Mon Jul 18 16:49:04 CEST 2011


On Mon, Jul 18, 2011 at 11:30 AM, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
>
> Marcos Douglas wrote:
>>
>> 2011/7/18 Frank Church <vfclists at gmail.com>:
>>>
>>> I noticed that the Make path was empty, and after comparing to the other
>>> installations it seems that the ..\fpc\bin\i386-32 did not contain the full
>>> set of files. There were only 48 files the compared with the 70 or so in the
>>> others, and make was one of the missing ones. The package recompile was
>>> using the wrong set of utilities. The problem may have been in the FPC
>>> compilation. So back to the drawing board on that.
>>
>> Did you do each step this tutorial?
>> Try do not change anything. Just follow the tuturial.
>>
>> The binaries in ..\fpc\bin\i386-32 are made by Make. If you do not
>> compile FPC with success some files may not have been generated.
>
> I've just completed a build of 2.4.4 on W2K, and after completion
> found that the binaries directory didn't include make etc. so I added
> a directory from the source tree to my path.

The tools (make, etc) are here:
http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_4/install/binw32

See the tutorial:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#STEP_.231:_Create_directories_and_get_the_sources

> I also noticed that "make install" had failed (silently) to build an fpc.cfg, presumably because it couldn't find gcc.
>

If you didn't download the binutils (fpcbuild) you do not have make
tool (for Windows).

> I also noticed that the fpc.cfg that the 2.4.2 binary installer created had an explicit reference to 2.4.2, rather than using $fpcversion.
>

To create fpc.cfg, use fpcmkcfg tool. But I also do not use .
See the tutorial:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#STEP_.234:_Create_fpc.cfg_file

Marcos Douglas




More information about the Lazarus mailing list