how to tune libstdc++ to the native architecture when building gcc
Posted
by
John D
on Super User
See other posts from Super User
or by John D
Published on 2012-06-08T03:35:25Z
Indexed on
2012/06/08
4:42 UTC
Read the original article
Hit count: 482
I recently found that when I build my C++ software, I get about a 10% speedup by using the g++ march=native option. When compiling gcc and libstc++, is it possible to tune the libstdc++ library to the native architecture as well? I couldn't find any mention of this in the gcc install configuration documentation. (I'm building gcc 4.6.2 on Linux Mint 11 with an Intel Core i7 Sandy Bridge-E processor.)
© Super User or respective owner