There are 83 messages in this thread.
You are currently looking at messages 0 to 10.
Hi, I just need to get my facts straight. I have been given a spec, where the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler for the 51 does not exist. Regards Anton Erasmus
Hello Anton, I've never used it, just found the link with Google, but take a look at http://www.keil.com/pr/article/1032.htm Regards, johannes
Anton Erasmus <n...@nowhere.net> wrote in news:g...@4ax.com: > Hi, > > I just need to get my facts straight. I have been given a spec, where > the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler > for the 51 does not exist. Silly requirement but C++ does exist (in some form, e.g. EC++): http://www.ceibo.com/eng/general/newsltr.shtml#cpp and maybe http://www.iar.com -- - Mark -> --
On Wed, 04 Aug 2004 21:29:51 +0200, Anton Erasmus <n...@nowhere.net> wrote: >Hi, > >I just need to get my facts straight. I have been given a spec, where >the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler >for the 51 does not exist. http://www.ceibo.com/eng/products/cpp.shtml Never tried it, can't say how good it is. Good luck (you'll probably need it...) Regards, -=Dave -- Change is inevitable, progress is not.
"Mark A. Odell" <o...@hotmail.com> wrote: >Anton Erasmus <n...@nowhere.net> wrote in >news:g...@4ax.com: > >> Hi, >> >> I just need to get my facts straight. I have been given a spec, where >> the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler >> for the 51 does not exist. > >Silly requirement but C++ does exist (in some form, e.g. EC++): > >http://www.ceibo.com/eng/general/newsltr.shtml#cpp This appears to be a C++ to C preprocessor. Information is sketchy but there are downloadable demos. They do a version integrated with keil tools. The demo of their standalone product uses SDCC. I was going to say I wondered why they bothered considering how awful C++ compiled for a 51 must look but then tweaking a preprocessor for a particular backend compiler isn't that much work.
rumor has it that it uses too many resources. C++ in an 8052 is probably not the best idea. look aT WWW.8052.COM
In article <g...@4ax.com>, Anton Erasmus <n...@nowhere.net> writes >Hi, > >I just need to get my facts straight. I have been given a spec, where >the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler >for the 51 does not exist. DON'T DO IT The only C++ compiler system for the 8051 AFAIK is the Ceibo one that Keil can supply. However it is not very efficient and I can't see any reason for using it. You C++ will be so restricted that is will be virtually C or it will be a VERY small program. Why is C++ Mandatory? This spec is from some one who clearly does not understand what they are asking for. BTW which 51 is it? /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ c...@phaedsys.org www.phaedsys.org \/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Anton Erasmus <n...@nowhere.net> wrote: > Hi, > I just need to get my facts straight. I have been given a spec, where > the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler > for the 51 does not exist. It does (see the other replies), but that's not really the answer to the problem. That combination is like asking an architect to build a family home with a fully service-qualified road inside to go from the couch to the toilet in an 40-ton 18-wheeler. It's completely crazy idea. I'd interpret that spec as someone's sick try at a prank. -- Hans-Bernhard Broeker (b...@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.
Anton Erasmus <n...@nowhere.net> wrote: > Hi, > I just need to get my facts straight. I have been given a spec, where > the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler > for the 51 does not exist. It does (see the other replies), but that's not really the answer to the problem. That combination is like asking an architect to build a family home with a fully service-qualified road inside to go from the couch to the toilet in a 40-ton 18-wheeler. It's a completely crazy idea. I'd interpret that spec as someone's sick try at a prank. -- Hans-Bernhard Broeker (b...@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.
Hans-Bernhard Broeker <b...@physik.rwth-aachen.de> wrote: >Anton Erasmus <n...@nowhere.net> wrote: >> Hi, > >> I just need to get my facts straight. I have been given a spec, where >> the use of C++ and a '51 core MCU is mandatory. AFAIC a C++ compiler >> for the 51 does not exist. > >It does (see the other replies), but that's not really the answer to >the problem. That combination is like asking an architect to build a >family home with a fully service-qualified road inside to go from the >couch to the toilet in an 40-ton 18-wheeler. It's completely crazy >idea. Poor analogy IMO. They specified a language which will run inefficiently on the specified hardware. People run interpreted BASIC on 51s is that completely crazy? It is just difficult to see how the inefficiency could be justified by the limited benefits of C++ compared to C on the kind of system that will fit on a 51.