Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Are there any 8051 C++ compilers ?

There are 83 messages in this thread.

You are currently looking at messages 0 to 10.

Are there any 8051 C++ compilers ? - Anton Erasmus - 15:29 04-08-04

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



Re: Are there any 8051 C++ compilers ? - johannes m.r. - 15:57 04-08-04

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

Re: Are there any 8051 C++ compilers ? - Mark A. Odell - 15:58 04-08-04

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 ->
--

Re: Are there any 8051 C++ compilers ? - Dave Hansen - 16:02 04-08-04

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.

Re: Are there any 8051 C++ compilers ? - nospam - 22:26 04-08-04

"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. 




Re: Are there any 8051 C++ compilers ? - Neil Kurzman - 02:46 05-08-04

rumor has it that it uses too many resources.  C++ in an 8052 is probably
not the best idea.
look aT WWW.8052.COM


Re: Are there any 8051 C++ compilers ? - Chris Hills - 04:07 05-08-04

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 \/\/
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Re: Are there any 8051 C++ compilers ? - Hans-Bernhard Broeker - 07:12 05-08-04

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.

Re: Are there any 8051 C++ compilers ? - Hans-Bernhard Broeker - 07:21 05-08-04

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.

Re: Are there any 8051 C++ compilers ? - nospam - 07:50 05-08-04

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. 



| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | next