This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Daniel Kabs wrote: > Hello! > >> The size of libstdc++ (stripped) is about 850 kByte. To save memory space >> I'd like to reduce this size. >> >> Is setting TARGET_CFLAGS="-Os" the correct way to achieve this? > > I just tried it. This flag did not affect the size of libstdc++.so.6.0.3 > in any way. I guess, it's not used for building this lib. > > Suggestions for other flags I could try are highly appreciated. CFLAGS_FOR_TARGET is sometimes the right incanatation. OTOH considering large chunks of the sourcecode for libstdc++ are written in C++, I would think you also want to throw a CXXFLAGS version of one of those into the mix! cheers, DaveK -- Can't think of a witty .sigline today.... ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |