C++ for embedded systems
Rosimildo da Silva
rdasilva at connecttel.com
Mon Oct 9 12:58:22 UTC 2000
Nick.SIMON at syntegra.bt.co.uk wrote:
>
> Are you really sure you want objects in ROM? They wouldn't be very
> dynamic!
>
> We have lots of C++ code running under RTEMS. Objects, whether globals or
> dynamically created, live in RAM. Snags are:
>
> (1) Performance is hit somewhat by the code inserted by the compiler for
> exception handling. I haven't found a way to disable this in the compiler,
> else we'd do without EH for performance's sake.
GCC flags: -fno-exceptions -fno-rtti should disable exceptions and
RTTI. I have not tested it. Be warned that doing this you'd loose
he ability of using IOSTREAM/STL or Standard C++ library.
--
Rosimildo da Silva rdasilva at connectel.com
ConnectTel, Inc. Austin, TX -- USA
Phone : 512-338-1111 Fax : 512-918-0449
Mobile: 512-632-7579
Company Page: http://www.connecttel.com
Home Page: http://members.xoom.com/rosimildo/
More information about the users
mailing list