[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No standard library compilation
From: |
ernesto |
Subject: |
Re: No standard library compilation |
Date: |
3 Jun 2006 18:04:07 -0700 |
User-agent: |
G2/0.2 |
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.
Thanks a lot,
Ernesto