User Profile

Collapse

Profile Sidebar

Collapse
pram29
pram29
Last Activity: Sep 1 '09, 07:57 AM
Joined: Sep 21 '07
Location: Mumbai
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pram29
    replied to Having a large array
    in C
    Ok, Thank you donbock,
    Will make a check on that.
    BTW, I am using Windriver diab compiler and linker. command is dld for linking

    Regards,
    Ramu
    See more | Go to post

    Leave a comment:


  • pram29
    replied to Having a large array
    in C
    Hi donbock,

    I get linker error message that svram is not available (or something else which means that Linker cant link it as it is too large)at build time if I declare the array as just static. So I declared it as static const. With this change, I dont get any linker error message, but the application itself doesnot boot during runtime.
    If I use it as auto, then I have to declare it globally, then also I will face the same...
    See more | Go to post

    Leave a comment:


  • pram29
    replied to Having a large array
    in C
    ok,
    Thank you JosAH and Bafna

    Regards,
    Ramu
    See more | Go to post

    Leave a comment:


  • pram29
    replied to Having a large array
    in C
    Unfortunately, I have only 80K RAM and in that 16K is untouchable by this application. There are other data types and resources taking lot of memory and I am left with only few KBs which comes less than 80*8 Bytes.
    See more | Go to post

    Leave a comment:


  • pram29
    replied to Having a large array
    in C
    Thank you Banfa.. Will have a check according to your suggestion.
    Meanwhile, I would like to ask if there is a different way in C++ to program this scenario?
    See more | Go to post

    Leave a comment:


  • pram29
    started a topic Having a large array
    in C

    Having a large array

    Hello,

    I want to have a large array. I have a structure which contains 6 fields, 4 of them are unsigned char and 2 of them are unsigned short. I should have an array of 80 elements of type the above said structure. I would like to have it as a static array in a class, which I can refer to, from any function inside this class. I am programming this for an advanced audio amplifier (Embedded system), running on PowerPC and OSEK RTOS....
    See more | Go to post
No activity results to display
Show More
Working...