Autor Beitrag
dirkil2
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130



BeitragVerfasst: Fr 06.05.05 22:50 
Unsere Applikation ist fertig und wir möchten demnächst live gehen. Daher wollen wir ohne Debug Informationen compilieren. Ich habe also in den Projektoptionen auf der Compiler Lasche alle Häkchen bei "Debuggen" entfernt.

Die Größe des Executables wird dabei nur geringfügig kleiner (von 33.222 KB auf 32.168 KB). Wenn ich nach dem Compilieren in der IDE nochmals die Projektoptionen anschaue, sind wie von Zauberhand plötzlich wieder 2 Häkchen bei "Debug-Informationen" und "Lokale Symbole".

Wie kann ich sicherstellen, dass keine Debug Infos mehr im Executable sind?

Ich verwende Delphi 7.
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 06.05.05 23:10 
Unter Projektoptionen sowohl ALLE Häkchen unter Compiler\Debuggen entfernen als auch folgende Dinge auf der Seite Linker:

Map-Datei: AUS
EXE- und DLL-Optionen:
- TD32-Debug-Informationen: AUS
- Externe Debugsymbole: AUS

Deine EXE wird dann ERHEBLICH Kleiner.

Weiterhin empfehle ich das Ausschalten der Stackframes (Seite Compiler\Codeerzeugung).

Danach sollte die EXE eigentlich clean sein.

_________________
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.
dirkil2 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130



BeitragVerfasst: Fr 06.05.05 23:34 
@Benny

Vielen Dank für den kompetenten Tip, der mir sehr geholfen hat! In der Tat, mein Executable ist jetzt nur noch 10.150 KB groß.
feivel3333
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190

W7
Delphi XE prof
BeitragVerfasst: Sa 07.05.05 00:51 
Hi,
das mit den Schaltern scheint wirklich eine sehr interessante Sache zu sein. Du hast jetzt nur noch 10 MB, aber wie groß war sie vorher, die Exe ?
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: Sa 07.05.05 01:24 
@feivel: Siehe in seinem ersten Post: 33 MB ...

_________________
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.