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 20 to 30.

Re: Are there any 8051 C++ compilers ? - Dan Henry - 20:34 05-08-04

CBFalconer <c...@yahoo.com> wrote:

><!-- As signature -->
>"I'm a war president.  I make decisions here in the Oval Office
> in foreign policy matters with war on my mind." -         Bush.
>"Churchill and Bush can both be considered wartime leaders, just
> as Secretariat and Mr Ed were both horses." -     James Rhodes.
>"If I knew then what I know today, I would still have invaded
> Iraq. It was the right decision" -       G.W. Bush, 2004-08-02

Not that I agree or disagree...

But could we please keep c.a.e free of political drivel?  I get enough
of that with the rock and movie stars (and "<!-- insert
agenda-driven-group -->) opinionating.  Must we (I) get it here too?  

Just a suggestion -- if y'all want it, go for it!

--
Dan Henry



Re: Are there any 8051 C++ compilers ? - johannes m.r. - 20:44 05-08-04

Dan Henry <d...@sprynet.com> wrote:
>CBFalconer <c...@yahoo.com> wrote:
>><!-- As signature -->
>> [..]
>[..]
>But could we please keep c.a.e free of political drivel?  I get enough
>of that with the rock and movie stars (and "<!-- insert
>agenda-driven-group -->) opinionating.  Must we (I) get it here too?  

As long as it is just a signature I personally don't really care and
would advise anyone not to care either ;-)
Admittedly, as soon as political discussion started here I wouldn't
like it either.

Just my personal opinion about this. (Without saying whether I agree
with the signature or not;)

Regards,
johannes

Re: Are there any 8051 C++ compilers ? - Spehro Pefhany - 21:13 05-08-04

On Thu, 5 Aug 2004 23:46:32 +0100, the renowned Chris Hills
<c...@phaedsys.org> wrote:

>In article <2...@megapath.net>, Tom Taylor
><ttaylor@no_spam_ateng.com> writes
>>CBFalconer wrote:
>>> R Adsett wrote:
>>> 
>>> ... snip ...
>>> 
>>>>There is at least the possibility that those who specified the
>>>>system did not understand that C was a different language from C++. 
>>>>You often see C/C++ referred to as if it were a single language and
>>>>I seem to recall seeing C++ referred to in a context where the
>>>>language being discussed was C.
>>>>
>>>>Depending on your relationship with the people involved it may be
>>>>worth discussing this (although I suspect you would already have
>>>>done that if you expected it to be at all fruitful).  You might
>>>>even be able to sell them on C as a subset of C++.
>>> 
>>> 
>>> Which it isn't.  So long as you realize that yourself before
>>> putting on the spin.
>>> 
>>Okay, I'll bite.  What features or language constructs
>>are in C that are not in C++?  I always thought that C++
>>was a superset of C and curious about why it isn't.
>
>C has not been a sub set of C++ for some years.
>Parts of C++ use the same syntax for different things.

I think C89 is a subset of C++, but C99 adds new stuff. 

Of course you can choose to write code that's compatible with both. 

Best regards, 
Spehro Pefhany
-- 
"it's the network..."                          "The Journey is the reward"
s...@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com

Re: Are there any 8051 C++ compilers ? - R Adsett - 23:23 05-08-04

In article <4...@yahoo.com>, c...@yahoo.com says...
> R Adsett wrote:
> > 
> ... snip ...
> > 
> > There is at least the possibility that those who specified the
> > system did not understand that C was a different language from C++. 
> > You often see C/C++ referred to as if it were a single language and
> > I seem to recall seeing C++ referred to in a context where the
> > language being discussed was C.
> > 
> > Depending on your relationship with the people involved it may be
> > worth discussing this (although I suspect you would already have
> > done that if you expected it to be at all fruitful).  You might
> > even be able to sell them on C as a subset of C++.
> 
> Which it isn't.  So long as you realize that yourself before
> putting on the spin.
Good points, although I expect practically speaking compiler specific 
8051 extensions are as much or more of an issue.

Robert

Re: Are there any 8051 C++ compilers ? - R Adsett - 23:28 05-08-04

In article <4...@yahoo.com>, c...@yahoo.com says...
> Tom Taylor wrote:
> > CBFalconer wrote:
> >> R Adsett wrote:
> >>
> >> ... snip ...
> >>>
> >>> Depending on your relationship with the people involved it may be
> >>> worth discussing this (although I suspect you would already have
> >>> done that if you expected it to be at all fruitful).  You might
> >>> even be able to sell them on C as a subset of C++.
> >>
> >> Which it isn't.  So long as you realize that yourself before
> >> putting on the spin.
> >>
> > Okay, I'll bite.  What features or language constructs are in C
> > that are not in C++?  I always thought that C++ was a superset
> > of C and curious about why it isn't.
> 
> Many aspects.  Just to name a few:
> 
>                  IN 'C'                  IN C++
>   '0'            integer const           char const
>   //             syntax error            comment to EOL
>                  unless C99 standard
>   p = malloc(N * sizeof *p)
>                  Best construct          requires a cast
>   int new;       integer named new       syntax error
>   sizeof('1')    == sizeof(int)          == 1
>   <<             left shift operator     varies
>   const int i;   i is protected from     i is a constant.
>                  writing, but can be
>                  overridden.
This last one should be the other way around shouldn't it?

Robert

[OT] sigs (was: Are there any 8051 C++ compilers ?) - CBFalconer - 00:06 06-08-04

nappy wrote:
> "CBFalconer" <c...@yahoo.com> wrote in message
> 
> > --
> > "I'm a war president.  I make decisions here in the Oval Office
> >  in foreign policy matters with war on my mind." -         Bush.
> > "Churchill and Bush can both be considered wartime leaders, just
> >  as Secretariat and Mr Ed were both horses." -     James Rhodes.
> > "If I knew then what I know today, I would still have invaded
> >  Iraq. It was the right decision" -       G.W. Bush, 2004-08-02
> 
> goofy sig. IS it absolutely necessary in a programming NG to wear
> your politics on your sleeve? Not to mention a sig that is nearly
> as long as the posts...

I concede it was too long, and it gets changed periodically.  What
politics :-) - It just quotes GWB, draw your own conclusions.

-- 
"The most amazing achievement of the computer software industry
 is its continuing cancellation of the steady and staggering
 gains made by the computer hardware industry..." - Petroski



Re: Are there any 8051 C++ compilers ? - CBFalconer - 00:41 06-08-04

R Adsett wrote:
> c...@yahoo.com says...
>> Tom Taylor wrote:
>>> CBFalconer wrote:
>>>> R Adsett wrote:
>>>>
>>>> ... snip ...
>>>>>
>>>>> Depending on your relationship with the people involved it may be
>>>>> worth discussing this (although I suspect you would already have
>>>>> done that if you expected it to be at all fruitful).  You might
>>>>> even be able to sell them on C as a subset of C++.
>>>>
>>>> Which it isn't.  So long as you realize that yourself before
>>>> putting on the spin.
>>>>
>>> Okay, I'll bite.  What features or language constructs are in C
>>> that are not in C++?  I always thought that C++ was a superset
>>> of C and curious about why it isn't.
>>
>> Many aspects.  Just to name a few:
>>
>>                  IN 'C'                  IN C++
>>   '0'            integer const           char const
>>   //             syntax error            comment to EOL
>>                  unless C99 standard
>>   p = malloc(N * sizeof *p)
>>                  Best construct          requires a cast
>>   int new;       integer named new       syntax error
>>   sizeof('1')    == sizeof(int)          == 1
>>   <<             left shift operator     varies
>>   const int i;   i is protected from     i is a constant.
>>                  writing, but can be
>>                  overridden.
>
> This last one should be the other way around shouldn't it?

No.  The C const is peculiar, and effectively means write
protect.  The i can't be used in constant expressions, such as
array sizes.  Try the C faq for details, or the standard.

The point is C is not a subset of C++.  They are different
languages with superficial similarities.

-- 
"The most amazing achievement of the computer software industry
 is its continuing cancellation of the steady and staggering
 gains made by the computer hardware industry..." - Petroski



Re: [OT] sigs (was: Are there any 8051 C++ compilers ?) - martin griffith - 06:39 06-08-04

On Fri, 06 Aug 2004 04:06:54 GMT, in comp.arch.embedded you wrote:

>nappy wrote:
>> "CBFalconer" <c...@yahoo.com> wrote in message
>> 
>> > --snip

-- 
"The most amazing achievement of the computer software industry
 is its continuing cancellation of the steady and staggering
 gains made by the computer hardware industry..." - Petroski

this intrigued me, so 
http://www.sysprog.net/quotdesi.html





martin

 Serious error. 
   All shortcuts have disappeared. 
      Screen. Mind. Both are blank. 

Re: [OT] sigs - Guy Macon - 07:45 06-08-04

CBFalconer <c...@yahoo.com> says...

>It just quotes GWB, draw your own conclusions.

You know very well that you can pick a bunch of Bush quotes making
Bush look good or you can pick a bunch of Bush quotes making Bush 
look bad and that you can pick a bunch of Kerry quotes making Kerry 
look good or  you can pick a bunch of Kerry quotes making Kerry look 
bad. Please don't insult our intelligence by pretending that doing
so is being unbiased.

-- 
This sig generated by hand to insure freshness.

 


Re: [OT] sigs - Frank Bemelman - 08:23 06-08-04

"Guy Macon" <http://www.guymacon.com>; schreef in bericht
news:1...@news.supernews.com...
>
> CBFalconer <c...@yahoo.com> says...
>
> >It just quotes GWB, draw your own conclusions.
>
> You know very well that you can pick a bunch of Bush quotes making
> Bush look good or you can pick a bunch of Bush quotes making Bush
> look bad and that you can pick a bunch of Kerry quotes making Kerry
> look good or  you can pick a bunch of Kerry quotes making Kerry look
> bad. Please don't insult our intelligence by pretending that doing
> so is being unbiased.

It takes more than intelligence, to pick a bunch of quotes making
GWB look good.

-- 
Thanks, Frank.
(remove 'x' and 'invalid' when replying by email)



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