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 Brownda...@westcontrol.com 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,

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)

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 a...@gjlay.de 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

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

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 sb...@users.sourceforge.net wrote: On 05/03/2012 05:20 PM, Gabriel Dos Reis wrote: and flashT  if we decide to have one. And to have great incompatibility with C11 address space qualifiers. See how C11 handles std::atomicT. Anyway, all I am

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

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

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 where we would like

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 a...@gjlay.de 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 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

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Weddington, Eric
-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 of it. It is a programming style which

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 Gabriel Dos Reis
On Wed, May 2, 2012 at 10:03 AM, Weddington, Eric eric.wedding...@atmel.com 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.

Re: [avr-gcc-list] using exceptions

2012-05-02 Thread Gabriel Dos Reis
On Wed, May 2, 2012 at 10:18 AM, David Brown da...@westcontrol.com 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

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

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 a...@gjlay.de 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

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
: [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 with the C++ part. We are in the situation where we

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
, 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 recent post on libstdc++.  I am still learning AVR and its toolsets but I

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.

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

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-list] using exceptions I've seen

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
-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. There is the Atom subset of Haskell meant for embedding, if you are not aware

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Weddington, Eric
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. At Eaton, we use it for automotive control systems. Based on guarded atomic actions

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-list] using exceptions Essentially

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
On Tue, May 1, 2012 at 2:34 PM, Bob Paddock graceindustr...@gmail.com 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

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
@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++ speakers,         and AVR-based robots are cheap :-)   (2) as a research project

Re: [avr-gcc-list] using exceptions

2012-05-01 Thread Gabriel Dos Reis
, 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 it: Atom is a Haskell DSL for designing hard real-time embedded software. At Eaton

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 a...@gjlay.de 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

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