Autor Beitrag
glotzer
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 393
Erhaltene Danke: 49

Win 7
Lazarus
BeitragVerfasst: Mo 29.11.10 21:54 
Hallo,
ich wusste nic wo ich es sonst hintuen soll, also frag ich mal hier:
warum hat ein leeres Lazarus project schon 12mb? Delphi 7 schaft ja immerhin schon 300kb aber 12 mb ist einfach zu viel.

hat da jemand eine idee warum und was man dagegen machen kann?

edit: mit leer mein ich project mit genau einem formular und ohne irgendwelche anderen Komponenten

edit2: bischen an den project einstellungen gespielt, jetzt hat Lazarus "nur" noch 1,6kb


Zuletzt bearbeitet von glotzer am Mo 29.11.10 22:06, insgesamt 1-mal bearbeitet
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 29.11.10 22:06 
Ich schätze mal weil Lazarus anders (und nicht so gut) optimiert. Außerdem gibts unterschiede zwischen der LCL und der VCL. So würd ichs mal einschätzen was die gründe dafür sind.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
glotzer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 393
Erhaltene Danke: 49

Win 7
Lazarus
BeitragVerfasst: Mo 29.11.10 22:09 
der große unterschied wundert mich trotzdem... naja danke :D
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Mo 29.11.10 22:17 
Hallo,

in Lazarus standardmäßig alles in der debug-Version nutzt.
Das kann man alles abschalten bei den Compiler Options, wenn man fertig ist:
wiki.lazarus.freepas...d_binaries_so_big.3F
1,5 Mb bleiben es aber immer.

Gruß Horst
Teekeks
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 211
Erhaltene Danke: 23



BeitragVerfasst: Mo 29.11.10 22:38 
Richtig, auf ca 1,5MB bekommt man es runter, und die restliche Differenz ist größtenteils der Plattformunabhängigkeit geschuldet.
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 29.11.10 22:40 
Selbst wenn man die Optimierung ganz rauf dreht? In Lazarus kann man nämlich auch den grad der Optimierung bestimmen.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Mo 29.11.10 22:46 
Hallo,

ein Zitat aus den FAQ:
Zitat:

It's also important to note that the hello world lazarus software already includes a huge amount of features. It includes:
XML handling library
Image handling library for png, xpm, bmp and ico files
Almost all widgets from the Lazarus Component Library
All of the Free Pascal Runtime Library

So it's very big, but it already includes almost everything a real world non-trivial app will need.


Das ist manches dabei, was man nicht immer selbst zu brauchen glaubt.
Ich dachte {$smartlink ON} hätte eine größere Wirkung.

Gruß Horst