-fno-rtti (disable RTTI)?

Denis Feklushkin feklushkin.denis at gmail.com
Wed May 13 10:46:11 UTC 2020


On Wednesday, 13 May 2020 at 10:10:13 UTC, IGotD- wrote:
> On Wednesday, 13 May 2020 at 09:49:33 UTC, Denis Feklushkin 
> wrote:
>> Hi!
>>
>> Is there any way to disable RTTI? Perhaps some simple compiler 
>> patch?
>
> What is RTTI in a D language context? -fno-rtti is a switch for 
> C++ compilers and I'm not sure what the equivalent in D would 
> be. Would that be the module info meta data?

Yes, I mean this thing - text names of types and stuff like that.

Maybe you remember that I am trying to port druntime to an 
embedded system. Now I have a binary about 90KB and I have a 
suspicion that several kilobytes occupied by type information and 
exceptions messages.


More information about the digitalmars-d-ldc mailing list