C++ pure virtual base class memory consumption

fueb fueb@gmx.net
Mon Aug 27 17:35:00 GMT 2012



alves.ped (Bugzilla) wrote:
> 
> 
> Back when I was doing embedded stuff eons ago, I used to trim all that by
> providing my own lean implementation of __cxa_pure_virtual (and others I
> don't recall right now -- look at the map file for hints), the hook
> libstdc++ calls
> when a pure virtual is called.  The default one pulls in a lot of that
> stuff you
> don't want.  Doing a web search on that function name finds other people
> doing
> the same.  E.g.,
> 
> 

I "objdump" the two binary files to see which symbols appear or disappear. I
will 
figure out and write again, thanks so far. 
-- 
View this message in context: http://old.nabble.com/C%2B%2B-pure-virtual-base-class-memory-consumption-tp34325972p34341635.html
Sent from the Sourceware - newlib list mailing list archive at Nabble.com.



More information about the Newlib mailing list