DSPRelated.com
Forums

extra const data added in CCS3.2

Started by Lakshman June 2, 2006
Hi,

I'm using CCS version 3.2 with build tools version
39.5. In my application, I have a wrapper (executable
project) and many algo libraries linked to the main
application. For each of the wrapper file(*.c/*.cpp)
CCS creates a ".const" section with some size
allocated.
In my application this "extra const section" is of 2Kb
size. I excluded all *.c and *.h files except a
main(doesn't have any function body) file but still
this const section exist.

Is there any setting in CCS to elimate this section???
Thanks and regards,
-Lakshman
Lakshman--

Without going into the details of your question, I would like to remind that
CCS3.2 is only recommended for C64x+ code development. Anything on C5000 and
C2000 and older C6000 devices it is recommended that CCS3.1 with latest
updates be used. Please check the release notes of CCS3.2 carefully. If you
are already aware of this fact, pls ignore the advice.

--Bhooshan
On 6/2/06, Lakshman wrote:
>
> Hi,
>
> I'm using CCS version 3.2 with build tools version
> 39.5. In my application, I have a wrapper (executable
> project) and many algo libraries linked to the main
> application. For each of the wrapper file(*.c/*.cpp)
> CCS creates a ".const" section with some size
> allocated.
> In my application this "extra const section" is of 2Kb
> size. I excluded all *.c and *.h files except a
> main(doesn't have any function body) file but still
> this const section exist.
>
> Is there any setting in CCS to elimate this section???
>
Thanks and regards,
> -Lakshman
Hi,

We are using CCS3.2, recommended by TI for our product
development. I verified with C64x+ simulator too...It
creates .const sections for the wrapper files.
Any idea why this .const section required for wrapper
files???

Thanks and regards,
-Lakshman

--- Bhooshan Iyer wrote:

> Lakshman--
>
> Without going into the details of your question, I
> would like to remind that
> CCS3.2 is only recommended for C64x+ code
> development. Anything on C5000 and
> C2000 and older C6000 devices it is recommended that
> CCS3.1 with latest
> updates be used. Please check the release notes of
> CCS3.2 carefully. If you
> are already aware of this fact, pls ignore the
> advice.
>
> --Bhooshan
> On 6/2/06, Lakshman wrote:
> >
> > Hi,
> >
> > I'm using CCS version 3.2 with build tools version
> > 39.5. In my application, I have a wrapper
> (executable
> > project) and many algo libraries linked to the
> main
> > application. For each of the wrapper
> file(*.c/*.cpp)
> > CCS creates a ".const" section with some size
> > allocated.
> > In my application this "extra const section" is of
> 2Kb
> > size. I excluded all *.c and *.h files except a
> > main(doesn't have any function body) file but
> still
> > this const section exist.
> >
> > Is there any setting in CCS to elimate this
> section???
> >
> Thanks and regards,
> > -Lakshman
> >
> >
> >