thread enabled ecos support

Henning Baldersheim henning.baldersheim@devoll.no
Mon Mar 8 06:42:00 GMT 2004


Hi

I am using ecos and would like to be able to use exceptions and stl/iostreams.
It seems that the tools I am using does not give thread safe exceptions or 
libstc++v3. So how do I go about to get that.
I have looked around in the code and compared *-rtems, *-vxworks with 
powerpc-eabi that I use. So far I have concluded that I need the following.
1 - define a *-ecos in the configure.in/config.sub files.
2 - Make a gthr-ecos.h in gcc subdirectory and change gcc/config.gcc.
3 - ?

Can anyone give me some hints so I do not make to many mistakes. Are there 
any documentation on how to add new targets.

Now the tools are compiled with --enable-newlib. Is that necessary. I 
thought c-lib functionality was provided solely by ecos.

Henning Baldersheim



More information about the Gcc mailing list