[Pas2js] how to enable Lazarus to work with pas2js trunk whencompiled by using FPCdeluxe?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Dec 9 13:33:54 CET 2020


On Wed, 9 Dec 2020 13:20:36 +0100
"Mgr. Janusz Chmiel" <janusz.chmiel at volny.cz> wrote:

> I have found out The solution myself.
> It is necessary to locate The .xml file pas2jsdsgnoptions.xml
> And edit its content. I have changed The compiler Path to The pas2js
> direktory and sure. COmpilation works like A charm with no issues. I
> will try to think why it is not possible to create so small
> lazarus.exe after adding new packages. So its .exe syze can not be
> for example 30 MB, but must be more than 200 mB. Sure, I could use
> UPX to compress .exe files, or I can even use build in Microsoft file
> compression to reduce even .exe file syzes on harddisk by
> compressing. But it is interesting. Why official lazarus.exe can be
> so small. And why unofficial Lazarus.exe compilations must have so
> big syzes.

Debug info.

You can build Lazarus with other options:
Tools - Configure Build Lazarus - Profile to build - Optimized IDE


Mattias


More information about the Pas2js mailing list