"ernesto" <[EMAIL PROTECTED]> writes: > Philippe Amarenco ha escrito: > >> If you drop RTTI and exception handling, you won't need any runtime >> support for C++. >> >> I have been told (but don't know for sure) gcc conforms to this: >> >> http://www.codesourcery.com/cxx-abi/abi-eh.html > > Thanks a lot, I will read it!!!! > >> after reading this, I realised how practical was the -fno-exceptions >> and -fno-rtti compile options... :) >> >> the only problem with disabling exceptions is that you cannot do dynamic >> allocation within a constructor [unless you can garantee it will >> succeed]. if I'm guessing right, you're developping on a small >> embedded system so it shouldn't matter much. > > Almost :) I want to develop for a very small operating system > (L4::Iguana) that has no support for the libstdc++ yet. >
then you may be interreted by this: "http://www.mega-tokyo.com/osfaq2/index.php/Doing a kernel in C++" -- Philippe Amarenco, aka Phix epita 2007 - GISTR - LSE - EpX _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus