This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STLport with iostreams up and running


On Thu, 26 Feb 2004 21:51:31 +0000
Jonathan Larmour <jifl@eCosCentric.com> wrote:

> Øyvind Harboe wrote:
> >>2. What C++ functions does STLport add to eCos?
> > 
> > I don't know of anything that is missing. 
> 
> I see from the patch it isn't thread-safe (stl_user_config.h).
> 
> >>I know that it will add iostreams, but will it allow me to use
> >>try/catch exception handing inside my
> >>classes or even RTTI? I have read the online docs but it would be useful to
> >>make sure that it applies to the eCos port.
> > 
> > Exceptions work(they don't require STLport). I've even added support for multithreaded 
> > exceptions to eCos. Nobody has commented on the patch though.
> > 
> > http://gcc.gnu.org/ml/gcc-patches/2003-07/msg01657.html
> 
> Probably because that patch breaks the user namespace, and in any case is 
> for SJLJ exceptions.

On ARM, Fujitsu, H8, M68k, AM3x, V8xx, PPC, I hardly guess you could do
without SJLJ exceptions. Eventually you may add the support inside GCC,
but if you compile gcc as-is, IMHO support for SJLJ is REQUIRED, as a
first citizen.

Another way of supporting GCC thread-safe, would be to write a gthr-ecos.h file and contribute it to the GCC Team. This would work for
any kind of exceptions ...

-- 
Eric DONNAT


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]