IO speed slipping again?

Jerry Quinn jlquinn@optonline.net
Sun Jun 22 03:07:00 GMT 2003


Benjamin Kosnik writes:
 > 
 > >In my case, it turns out that the library was not being built with
 > >optimization on.  When I set it to -O2, the times went back down
 > >again.  I still don't know why it's not using optimization in the
 > >builds, though.
 > 
 > (What is CXXFLAGS set to?)

How do I get the CXXFLAGS value during build?

Normally, I update the libstdc++-v3 dir (to avoid rebuilding the whole
compiler), then in the build subdir build/i686-pc-linux-gnu/libstdc++-v3:

./config.status
make clean
make install

During compilation, I'm not seeing -O2 -g in the compile commands.

If I build with

make CXXFLAGS="-O2 -g", then I get what I expect.



More information about the Libstdc++ mailing list