Autor Beitrag
JayK
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: Sa 24.09.05 21:51 
Hi Leute,
ich arbeite ab und zu mit Lazarus und finde es echt blöd, dass selbst kleinste Tools (sogar mit aktiviertem Debug-Strip-Off) locker 6 MB groß werden.
Wieso ist das so, und wie kann man diesen Größendimensionen entgegenwirken?

Schonmal Danke im vorraus
JayK


Zuletzt bearbeitet von JayK am Fr 21.10.05 16:29, insgesamt 1-mal bearbeitet
Muffin
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 99

WinXP Pro SP2
D7 Personal
BeitragVerfasst: So 02.10.05 18:36 
Leider ist Lazarus in dem Punkt Delphi stark unterlegen. Es wurde einfach noch nicht richtig optimiert. Du kannst Smartlinking in den Compilereinstellungen aktivieren, damit ungenutzte Bibliotheken nicht mit reingeladen werden.

In dem Ordner Lazarus\pp\bin\i386-win32 ist eine Kommandozeilendatei strip exe. Mit der kannst du die Datei auch nochmal deutlich drücken. Bei mir wird das leere Formular project1.exe von 5,81 MB auf 1,52 MB reduziert
ausblenden Quelltext
1:
C:\Programme\Lazarus\pp\bin\i386-win32>strip project1.exe					
JayK Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1013



BeitragVerfasst: So 02.10.05 21:14 
Ich hab bei Smartlinking bisher immer keine Unterschiede feststellen können :?
Und Strip lasse ich immer schon automatisch machen (Compiler Kommando -Xs)
Muffin
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 99

WinXP Pro SP2
D7 Personal
BeitragVerfasst: Mo 10.10.05 15:20 
Titel: Beta
Ich habe auch mit Smartlinking -XX Debuggersymbole entfernen -XS und Unit Smartlinkbar -CX keinerlei Veränderungen festgestellt, immer noch riesige Dateien. Zitat aus den offiziellen Forum: "Don't forget Lazarus is BETA. You can't expect a beta to focus on anything else than stabilizations and finalization." Gibt wohl noch keine Lösung.