DSPRelated.com
Forums

C6x Compiler

Started by Unknown March 24, 2003
Hi all !

I'am currently using CCS2 and a TMS320C6711.

I have a very simple question about the C6x compiler: Why is the ".text"
section much more small when compiling with the "-g" option than without?

Thanks in advance.

Cric. :.________________
CONFIDENTIALITE : Ce message et les entuelles pies attachs sont
confidentiels. Si vous n'es pas dans la liste des destinataires, veuillez
informer l'expiteur immiatement et ne pas divulguer le contenu une
tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas
stocker ou copier l'information qu'il contient sur un quelconque support.




wrote:

>Hi all !
>
>I'am currently using CCS2 and a TMS320C6711.
>
>I have a very simple question about the C6x compiler: Why is the ".text"
>section much more small when compiling with the "-g" option than without?
>
>Thanks in advance.
>
>Cric.
The c6x compiler generates different code when invoked with -g. The
reason for this that more optimized will
be more confusing to debug ( single steping becomes strange when code
has been reordered and paralleized).

As a rule of thumb , code that is optimized for performance typically
has a larger footprint than code the are less
optimized and I guess that is what you are seeing.

/Regards, P Ligander
>
>:.________________
>CONFIDENTIALITE : Ce message et les entuelles pies attachs sont
>confidentiels. Si vous n'es pas dans la liste des destinataires, veuillez
>informer l'expiteur immiatement et ne pas divulguer le contenu une
>tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas
>stocker ou copier l'information qu'il contient sur un quelconque support. >
>
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://www.yahoogroups.com/group/c6x
>
>Other Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/ >
>