Re: [avr-gcc-list] using exceptions

2012-05-06 Thread Georg-Johann Lay
Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Gabriel Dos Reis wrote: I guess I would need to get my feet wet with 1. minimal free-standing C++ implementations without exceptions 2. get support for RTTI (without exceptions) 3. exception

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread Gabriel Dos Reis
On Thu, May 3, 2012 at 5:13 PM, Sergey A. Borshch wrote: > On 05/03/2012 05:20 PM, Gabriel Dos Reis wrote: >> >> and flash  if we decide to have one. > > And to have great incompatibility with C11 address space qualifiers. See how C11 handles std::atomic. Anyway, all I am conveying is that if th

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread Sergey A. Borshch
On 05/03/2012 05:20 PM, Gabriel Dos Reis wrote: and flash if we decide to have one. And to have great incompatibility with C11 address space qualifiers. Sergey. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread Gabriel Dos Reis
On Thu, May 3, 2012 at 9:01 AM, David Brown wrote: >>> I think this is okay for C++, too? >> >> >> In C++, you can also access a non-const object with >> a const qualified pointer.  But, that is not what I was >> suggesting.  I am suggesting that a const(expr) *object* should >> go in program mem

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread David Brown
On 03/05/2012 15:29, Gabriel Dos Reis wrote: On Thu, May 3, 2012 at 3:33 AM, Georg-Johann Lay wrote: Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Gabriel Dos Reis wrote: I guess I would need to get my feet wet with 1. minimal free-standing C++ implementations without exceptions 2.

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread Gabriel Dos Reis
On Thu, May 3, 2012 at 3:33 AM, Georg-Johann Lay wrote: > Gabriel Dos Reis schrieb: >> >> Georg-Johann Lay wrote: >> >>> Gabriel Dos Reis wrote: I guess I would need to get my feet wet with 1. minimal free-standing  C++ implementations without exceptions 2. get support for

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread Georg-Johann Lay
Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Gabriel Dos Reis wrote: I guess I would need to get my feet wet with 1. minimal free-standing C++ implementations without exceptions 2. get support for RTTI (without exceptions) 3. exceptions (assuming 1 and 2 are done successfully) Regarding

Re: [avr-gcc-list] using exceptions

2012-05-03 Thread David Brown
On 02/05/2012 18:16, Gabriel Dos Reis wrote: On Wed, May 2, 2012 at 10:18 AM, David Brown wrote: I agree with what you are saying. I'm just trying to suggest that getting Haskell to work on the AVR is more akin to getting Linux to work on the AVR - while perhaps Lua, OCAML, more C++, or other

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Gabriel Dos Reis
On Wed, May 2, 2012 at 10:18 AM, David Brown wrote: > I agree with what you are saying.  I'm just trying to suggest that getting > Haskell to work on the AVR is more akin to getting Linux to work on the AVR > - while perhaps Lua, OCAML, more C++, or other options might be a better > balance. the

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Gabriel Dos Reis
On Wed, May 2, 2012 at 10:03 AM, Weddington, Eric wrote: > We're talking about university students and research projects. It does NOT > have to be efficient. They're working on something new. It's the nature of > research projects to try and find out what are the issues. Maybe they'll > discov

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Bob Paddock
> - Could Lua be made to work on an AVR? eLua already runs on the AVR32: http://www.eluaproject.net/overview/status Only real problem with Lua on the AVR that I recall is lack of RAM, when I looked at doing this a few years ago. Some type of post processing of the code might be able to get more

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread David Brown
: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] using exceptions I can't help wondering in all this - is it worth the effort? Are people /really/ going to program in Haskell for the AVR? Don't get me wrong here - I like functional programming, and would prefer to be able to do more

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Weddington, Eric
@nongnu.org > Subject: Re: [avr-gcc-list] using exceptions > > > I can't help wondering in all this - is it worth the effort? Are people > /really/ going to program in Haskell for the AVR? Don't get me wrong > here - I like functional programming, and would prefer to

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread David Brown
On 01/05/2012 17:18, Gabriel Dos Reis wrote: My recent interests in AVR grew out of educational and research activities -- as I explained in a relatively recent post on libstdc++. I am still learning AVR and its toolsets but I can definitely help with the C++ part. We are in the situation where

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Gabriel Dos Reis
On Wed, May 2, 2012 at 7:58 AM, Georg-Johann Lay wrote: > Gabriel Dos Reis wrote: My recent interests in AVR grew out of educational and research activities -- as I explained in a relatively recent post on libstdc++. I am still learning AVR and its toolsets but I can definitely

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Georg-Johann Lay
Gabriel Dos Reis wrote: >>> >>> My recent interests in AVR grew out of educational and research >>> activities -- as I explained in a relatively recent post on libstdc++. >>> I am still learning AVR and its toolsets but I can definitely help with >>> the C++ part. >>> >>> We are in the situation

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Bob Paddock
> Not having libstdc++ for the AVR has not had big consequences; the only > complaints that we've ever had was for not having the new and delete > operators. I know your aware of this Eric as you commented on it back in 2006, but for any new comers that might want to became the new/delete mainta

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread David Brown
On 01/05/2012 15:04, Georg-Johann Lay wrote: Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Kövesdi György schrieb: I am using avr-g++ for building my projects for avr and i am happy with it. :-) But i would need exception support, and could not find how to get it work. I found some mails

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread David Brown
On 01/05/2012 21:34, Bob Paddock wrote: a subgroup of students (under my direction) has set up to write a compiler for a subset of Haskell targetting AVR. This is quite an exciting research project. There is the Atom subset of Haskell meant for embedding, if you are not aware o

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Richard Weickelt
Hi, this thread got hijacked anyway, so here are just my 2 cents ;) C++ on the AVR has had more attention recently, mainly because of the Arduino community. The Arduino language is translated into C++ and then indeed, it's so much fun to play with that instead of writing the same boring stuf

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
Tuesday, May 01, 2012 2:06 PM >> To: Bob Paddock; Gabriel Dos Reis >> Cc: avr-gcc-list@nongnu.org >> Subject: Re: [avr-gcc-list] using exceptions >> >> >> >> > There is the Atom subset of Haskell meant for embedding, if you are >> > not aware of

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
Lay; avr-gcc-list@nongnu.org; Joerg Wunsch >> Subject: Re: [avr-gcc-list] using exceptions >> >> >> Essentially, we would like to: >>   (1) "spice up" our programming class projects with >>         robots programming -- many of our students are native C++

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
On Tue, May 1, 2012 at 2:34 PM, Bob Paddock wrote: >> a subgroup >>        of students (under my direction) has set up to write a >> compiler for a subset >>        of Haskell targetting AVR.  This is quite an exciting research >> project. > > There is the Atom subset of Haskell meant for embeddi

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
> -Original Message- > From: dosr...@gmail.com [mailto:dosr...@gmail.com] On Behalf Of Gabriel Dos > Reis > Sent: Tuesday, May 01, 2012 11:48 AM > To: Weddington, Eric > Cc: Georg-Johann Lay; avr-gcc-list@nongnu.org; Joerg Wunsch > Subject: Re: [avr-gcc-l

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
> Cc: avr-gcc-list@nongnu.org > Subject: Re: [avr-gcc-list] using exceptions > > > > > There is the Atom subset of Haskell meant for embedding, if you are > > not aware of it: > > > > "Atom is a Haskell DSL for designing hard real-time embedded software. &g

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
gnu.org > Subject: Re: [avr-gcc-list] using exceptions > > > a subgroup > >        of students (under my direction) has set up to write a > > compiler for a subset > >        of Haskell targetting AVR.  This is quite an exciting research > project. > > The

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
> -Original Message- > From: dosr...@gmail.com [mailto:dosr...@gmail.com] On Behalf Of Gabriel Dos > Reis > Sent: Tuesday, May 01, 2012 11:48 AM > To: Weddington, Eric > Cc: Georg-Johann Lay; avr-gcc-list@nongnu.org; Joerg Wunsch > Subject: Re: [avr-gcc-l

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Bob Paddock
> a subgroup >        of students (under my direction) has set up to write a > compiler for a subset >        of Haskell targetting AVR.  This is quite an exciting research project. There is the Atom subset of Haskell meant for embedding, if you are not aware of it: "Atom is a Haskell DSL for des

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Don Kinzer
> Gabriel Dos Reis wrote: >I guess I would need to get my feet wet with > 1. minimal free-standing C++ implementations without exceptions As for getting started, you'll find much of the collected knowledge about using C++ on AVRs in the AVR Freaks thread below. http://www.avrfreaks.net/index.php

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
Tuesday, May 01, 2012 9:18 AM >> To: Georg-Johann Lay >> Cc: avr-gcc-list@nongnu.org >> Subject: Re: [avr-gcc-list] using exceptions >> >> >> My recent interests in AVR grew out of educational and research >> activities -- as I explained in a relatively rece

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
r-gcc-list@nongnu.org > Subject: Re: [avr-gcc-list] using exceptions > > > My recent interests in AVR grew out of educational and research > activities -- as I explained in a relatively recent post on libstdc++. I am > still learning AVR and its toolsets but I can definitely help

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
On Tue, May 1, 2012 at 8:04 AM, Georg-Johann Lay wrote: > Gabriel Dos Reis schrieb: >> >> Georg-Johann Lay wrote: >>> >>> Kövesdi György schrieb: >>> I am using avr-g++ for building my projects for avr and i am happy with it. :-) But i would need exception support, and could not fin

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Georg-Johann Lay
Gabriel Dos Reis schrieb: Georg-Johann Lay wrote: Kövesdi György schrieb: I am using avr-g++ for building my projects for avr and i am happy with it. :-) But i would need exception support, and could not find how to get it work. I found some mails in the archive (dated many years ago) about po

Re: [avr-gcc-list] using exceptions

2012-04-29 Thread Gabriel Dos Reis
On Sat, Apr 28, 2012 at 6:07 PM, Georg-Johann Lay wrote: > Kövesdi György schrieb: > > >> I am using avr-g++ for building my projects for avr and i am happy with >> it. :-) >> But i would need exception support, and could not find how to get it work. >> :-( >> I found some mails in the archive (da

Re: [avr-gcc-list] using exceptions

2012-04-28 Thread Georg-Johann Lay
Kövesdi György schrieb: I am using avr-g++ for building my projects for avr and i am happy with it. :-) But i would need exception support, and could not find how to get it work. :-( I found some mails in the archive (dated many years ago) about possibility of building libstdc++ or libsupc++ wit

[avr-gcc-list] using exceptions

2012-04-28 Thread Kövesdi György
Hi, I am using avr-g++ for building my projects for avr and i am happy with it. :-) But i would need exception support, and could not find how to get it work. :-( I found some mails in the archive (dated many years ago) about possibility of building libstdc++ or libsupc++ with exception support, b