help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No standard library compilation


From: Philippe Amarenco
Subject: Re: No standard library compilation
Date: Sun, 04 Jun 2006 20:27:01 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

"ernesto" <ebasconp@gmail.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]