CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008

    Implementing C++ Compiler for Microcontrollers

    Dear All,

    I am planning to implement the c++ compiler on wide range of microcontrollers. since the c++ compiler is not availaible for freely for embedded controllers. i am planning to take the gcc code from linux and i am planning to add only code generation part depending on the chosen microcontroller.

    Is this possible. or any one already done this?
    Is iam in right direction?
    Any Suggestions on this will be great help.

    Thanks in Advance.

  2. #2
    Join Date
    Oct 2005
    Minnesota, U.S.A.

    Re: Implementing C++ Compiler for Microcontrollers

    Depends on the microcontroller. The larger ones, (Blackfin DSP, SHARC DSP, ARM, V2X, 68XXX, etc) already have well extablished C++ compilers. The smaller ones (8051, 7088, etc) also do, but are not generally available.

    Most developers don't want C++ compilers on small microcontrollers because the code is abstracted too much and the developer needs more control. When you only have a few bytes of memory, you don't want to be passing around objects. :-) Abstracting memory use is NOT a good idea.


  3. #3
    Join Date
    Aug 2008

    Re: Implementing C++ Compiler for Microcontrollers

    Thank you very much .. Erik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width