Forum > Windows

How to reduce EXE program size?

<< < (13/14) > >>

Dodfr:

--- Quote from: avra on June 30, 2021, 02:41:37 pm ---KOL is not Delphi only. It works with our favorite compiler as well...
https://wiki.freepascal.org/KOL

--- End quote ---

Excellent :-) I have an old Ressource Meter for years made with on D7+KOL and I wanted to make it x64


marcov:
64-bit is always larger, so if you want to keep it small....

Dodfr:

--- Quote from: marcov on June 30, 2021, 04:48:48 pm ---64-bit is always larger, so if you want to keep it small....

--- End quote ---

The thing is that I also check for some infos of running process it is to retrieve start command line that I can get from 32bits to 32bits processes but not from 32bits to 64bits (the ressource meter also show Top most CPU process Top RAM Top DiskActivity but for this I use Perfomance Counters) original size is 450KB and once compressed with UPX it is 150KB standalone fully portable exe zero install zero DLL.

Seenkao:
Для уменьшения исполняемого файла надо перебрать файл system.pp для данной системы и исключить всё что вам не нужно или "минимизировать" код. Это было уже сделано Владимиром Кладовым, но на ассемблере для Delphi и для 32-х битной системы. Возможно тот код можно использовать для FPC/Lazarus (что-то уже переводилось для FPC/Lazarus).

Всю информацию и связаться с Владимиром Кладовым вы можете на сайте http://f0460945.xsph.ru/rindex.htm

google translate:
To reduce the executable file, you need to iterate over the system.pp file for the given system and exclude everything that you do not need or "minify" the code. This was already done by Vladimir Kladov, but in assembler for Delphi and for a 32-bit system. Maybe that code can be used for FPC/Lazarus (something has already been translated for FPC/Lazarus).

All information and contact with Vladimir Kladov you can visit the website http://f0460945.xsph.ru/rindex.htm

WackaMold:
UPX Exe-packer from https://upx.github.io shrinks the empty program after compiling+linking from 44,032 bytes to 19,968 ... and a demo GUI About program from 2,853,376 bytes to 826,880 (68% shrinkage).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version