Stefan Arentz wrote:
Neh, we keep the beer in the fridge. The device is a MIPS based device
with not too much RAM/Flash. Think <= 8MB. which needs to be shared
with a kernel, libraries some tools.
It is not very special, you just can't use all nice tricks that are
obvious on a normal 1GB workstation with a standard 80GB drive :)
I developed most of my standard C++ library on a machine with 160MB
of disk space (yes, *disk space*, not memory). I had (newer version
of gcc unfortunately broke it) a C++ hello-world which took 4kB
(yes, 4*k*B). I think it is now ~40kB, mostly due to the exception
support I need to include. However, this was in an experimental
branch and not merged into the main library (it was mostly a demo
of what can be done; unfortunately, nobody pays me for actually
doing this to the whole standard C++ library...). With my "normal"
implementation, it indeed takes ~700kB for a hello-world (stripped
executable on an Intel machine).
Anyway, you should realize that STL != "standard C++ library": the
STL is just the generic stuff (containers, iterators, algorithms).
This will have no or at most only very small overhead compared to
manually written code.
--
<mailto:di***********@yahoo.com> <http://www.dietmar-kuehl.de/>
<http://www.contendix.com> - Software Development & Consulting