-
October 22nd, 2009, 06:10 AM
#1
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.
rishi.
-
October 22nd, 2009, 10:42 AM
#2
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.
-Erik
-
October 24th, 2009, 12:07 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|