I Agree with you Fabio, and also it can be implemented in Lazarus:

 

1)      Debug Path – LCL with Debug info

2)      Release Path – LCL WITHOUT Debug Info

 

When Im writing my software I do not want to debug Lazarus, so why should I
include 10MB of LCL debug Info in my .EXE?

If I have problems, I point to Debug Path and the I can look for the error.

 

[]s

 

 

Cesar Romero

 

De: Fabio Dell'Aria [mailto:[EMAIL PROTECTED] 
Enviada em: terça-feira, 15 de janeiro de 2008 03:13
Para: [email protected]
Assunto: Re: [lazarus] Solution to the BIG compiled file issue!

 

Others benefits:

1)...speedup compilation (allocated less memory and write less bytes on
disk).
2)...decreases Installation size;
3)...do not confuse new users with LCL code, during the debugging process.

I think it can be set as an installation or a Project option (as in Delphi
for the "Use Debug DCUs" compiler option)!

-- 
Best regards...

Fabio Dell'Aria. 



2008/1/15, Fabio Dell'Aria <HYPERLINK
"mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]>:

Hi Vincent,

2008/1/15, Vincent Snijders <HYPERLINK "mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED]>: 

Fabio Dell'Aria schreef:
> Hi to all,
>
> all we know how many new users do not uses lazarus because it create too
> BIG compiled files.
>
> We know that:
>
> 1)...the additional options are needed to can debug the project; 
> 2)...just do a simple "strip --strip-all filename" reduce drastically
> the final size (an empty project go from 12.5Mb to 1.2 Mb).
>
> I think to have found a really simple solution to can continue to debug 
> our project with a really little size increasing.
>
> Just remove all the debug-info from all the LCL object files to reduce
> the final compiled file from 12.5Mb to ONLY 2Mb (on Windows).
> 
> We'll can continue to debug our projects but we'll CANNOT debug the LCL
> code.
>
> To obtain this little miracle just use the following command (from the
> shell):

>
>
> What do you think about? ;)

<irony>
Maybe not such a bad idea. Maybe we expect too much from our users.
- That they know point 1) and 2) from above.
- That they want to know why things go wrong in the LCL and can handle
stepping 
though it, and prefer that above a list of hexdigits in their back traces.
</irony>

IOW: I expect Lazarus users to be knowledgeable, Lazarus is not for fools.

Vincent


Yes I understand but why loose so many new users? 
All the programmers come from Delphi reports this issue and only a little
subset of them check for a solution on Google.
Others are lost! 

But if a solution exists why do not use it?

I do not understand! :( 

 

_________________________________________________________________ 
     To unsubscribe: mail HYPERLINK "mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at HYPERLINK "http://www.lazarus.freepascal.org/mailarchives";
\nhttp://www.lazarus.freepascal.org/mailarchives 






-- 
Best regards...

Fabio Dell'Aria. 





No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.2/1224 - Release Date: 14/01/2008
17:39


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.2/1224 - Release Date: 14/01/2008
17:39
 

Reply via email to