[lazarus] Makefile updates

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jan 27 19:19:03 EST 2002


On Sun, 27 Jan 2002 22:57:42 +0100
Peter Vreman <peter at freepascal.org> wrote:

> I've updated fpcmake and the Makefiles. The win32 build is now working, but 
> the created executable crashes at startup.

I just updated under linux, and guess what happended: It crashes here as well.
The reason is simple: No widget interface has been compiled.

The LCL needs a small trick to compile:

1. compile the lcl
2. remove lcl/units/interfaces.ppu
3. compile one widget interface (gtk or win32)

If you want to compile an additional widget interface, you must repeat step 2.+3.

In the current Makefile, this remove statement is missing, and so the LCL is abstract.
Plz add such a remove to the Makefile.


Also the synedit is now build in 9 compile steps. There is a allunits.pp. Compile this unit to compile synedit in one step.


Mattias






More information about the Lazarus mailing list