functexcept.cc draws in everything

Henning Baldersheim henning.baldersheim@devoll.no
Thu Mar 11 20:32:00 GMT 2004


Hi

I am trying to use some parts of stl in my embedded environment. However as 
soon as I use anything from stl the amount of code that is added is enourmous.
I figured out that the source is functexcept.cc. If you need one exception 
you get them all. That should not be necessary.
Is it possible to split up this file and have the different functions 
compiled as single modules, fx the way that is done with libgcc.a ?
I was wondering if I should use STLPort instead to see if that is better 
suited. However I would like to have only one source. Having gcc provide 
everything would be the best.
I have adapted gcc to make exceptions work with ecos. So solving this 
problem would be very nice.
I have now spilt up the functexcept.cc into several different files, so I 
am going to see if the idea works. If so it would be nice to have it 
reflected back to cvs.

Henning



More information about the Libstdc++ mailing list