How to use malloc in SDCC?

2005-02-21
2013-03-12
  • christopher
    christopher
    2005-02-21

    The compiler is not able to recognise the Dynamic memory allocation defined in my program.How to  acess the memory using malloc?
    Thanks in advance,
    Chris

     
    • Maarten Brock
      Maarten Brock
      2005-02-22

      Using SDCC for which processor? Any error message? Which version of SDCC? What command line options did you use?

       
    • christopher
      christopher
      2005-02-22

      hi brock,

      I am using XC866 (infineon processor).I identified the problem.In the command promt i forgot to mention the size of the xram.
      Thanks,
      chris