This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
MPC860 + gcc 3.3.2 + STLPort
- From: "Tony Butt" <tjb at cea dot com dot au>
- To: <ecos-discuss at sources dot redhat dot com>
- Cc: 'Øyvind Harboe' <oyvind dot harboe at zylin dot com>
- Date: Wed, 11 Aug 2004 12:25:30 +1000
- Subject: [ECOS] MPC860 + gcc 3.3.2 + STLPort
- Organization: CEA Technologies
I followed Oyvind's directions some time ago to enable STLPort with ecos,
and I have a few questions regarding this configuration:
1) Exception handling seems to be totally broken with this compiler. Any
thrown exception of the form
throw ("Error Message");
is never caught. I have compiled ecos with -fno-exceptions, and those parts
of my application which need exceptions with -fexceptions - is this likely
to be an issue. If not, is this a known issue, or is there a workaround for
this.
I realise that this is unrelated to the use of STLport.
2) strstreams seems to cause a link problem when an integer data type is
used, eg
/home/tjb/ecos2.0/v681/STLport/src/locale_impl.cpp:45: multiple definition
of `_STL::num_put<char, _STL::ostreambuf_iterator<char,
_STL::char_traits<char> > >::id'
3) iostreams causes a linker failure (crash) when an integer data type is
used.
Apart from these issues, everything seems to work well...
Oyvind, have you seen any of these problems?
Does anyone have any suggestions?
Thanks
Tony Butt
Software Engineer
CEA Technologies
tjb@cea.com.au
Ph: 02 62130195
Fax: 02 62130013
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss