In article <20120813231935.ga21...@babymeat.com>, Tom Spindler <dog...@babymeat.com> wrote: >On Tue, Aug 14, 2012 at 12:06:52AM +0100, Mindaugas Rasiukevicius wrote: >> Tom Spindler <dog...@babymeat.com> wrote: >> > On Mon, Aug 13, 2012 at 08:20:45PM +0000, David Holland wrote: >> > > On Fri, Aug 10, 2012 at 10:18:09PM +0400, Valeriy E. Ushakov wrote: >> > > > Linking against libstdc++ wastes space and time at runtime. >> > > > >> > > > [...] >> > > > >> > > > I guess you are working on clang support, so leaking libsupc++ into >> > > > the build gets in your way. Please, instead of always linking >> > > > libstdc++ make it possible for a c++ program to express "i don't need >> > > > libstdc++" in a clean way. >> > > >> > > That's a fine idea, but, really, if you're concerned about space and >> > > time at runtime, don't use C++ at all. >> > >> > Wasn't the mdocml(?) package suppossed to eliminate the need for >> > groff in tools/ and/or in base? >> >> Preferably, the elimination of need for C++ compiler in tools as well. > >games/dab is written in C++.
This is just a toy I wrote in c++ (avoiding libstdc++ on purpose) to verify that the compiler works. We can disable it's build with MKCPLUSPLUS if that becomes an issue. christos