Autor Beitrag
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mi 24.05.06 21:42 
Hallo,

kann mir einer von euch erklären, warum die compilerte Exe kleiner wird, wenn man "Runtime Packages", miteinbindet? Immerhin verliert sie so bis zu mehr, als das 10-fache ihrer unrsprünglichen Größe. Einen Performence-Unterschied konnte ich allerings bislang nicht festellen.

Mfg ;)
aim65
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 312

Win 9x, Win XP
Delphi 3pro, 7PE
BeitragVerfasst: Mi 24.05.06 21:50 
Bin ich auch schon drüber gestoplpert, weil ich den Vermerk als unlogisch empfinde. Die .exe wird nämlich ohne die ganzen Runtimes kompiliert und läuft NUR mit der entsprechenden Runtime Package (wie VCL30, VCL40... je nach Delphi Version). Die muß also mit der exe geliefert werden. Hat nur den Voreil, wenn man viele exe's hat, die dann alle mit nur einer VCLxx laufen.

Du merkst den Unterschied erst, wenn du deine kleine exe auf einem rechner ohne Delphi laufen lassen willst. 8)
Marc. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mi 24.05.06 22:00 
Ah danke dir ;)
Marc. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Do 25.05.06 11:07 
Aber ich hätte jetzt doch nochmal eine Frage: gibt es neben dem Einbinden von RunTime Packages, noch eine Möglichkeit, die Exe auf nur wenige kb zu verkleinern? :P
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 25.05.06 11:29 
1. VCL nicht nutzen
2. EXE-Packer

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
aim65
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 312

Win 9x, Win XP
Delphi 3pro, 7PE
BeitragVerfasst: Do 25.05.06 20:47 
Ich packe meine exe's einfach in ein ZIP Archiv. Reduziert im Durchschnitt die Größe auf ca. 50-45%. Ist vielleicht nicht überwältigend, kostet aber nix 8) .
@BenBE: Wieviel % bringt eigentlich so ein EXE-Packer?
root_at_localhost
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 191



BeitragVerfasst: Do 25.05.06 22:28 
es gibt gute Gründe Exe-Packer nicht zu verwenden, dann lieber die Zip-Variante (stärker kann der Exe-Packer auch nicht komprimieren....
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 26.05.06 13:00 
Ein EXE-Packer bekommt rund 70% komprimierung raus (d.h. 400KB werden rund 110 KB) ...Allerdings haben die Teile in gewisser Hinsicht bei Mehrfachstarts und beim Debuggen erhebliche Nachteile, weshalb man sich das gut überlegen sollte ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.