diff -r efb1058baa31 -r fdaa6c7f6dea config/cc/gcc.in.2 --- a/config/cc/gcc.in.2 Wed Jul 28 23:55:10 2010 +0200 +++ b/config/cc/gcc.in.2 Thu Jul 29 19:47:16 2010 +0200 @@ -7,6 +7,18 @@ This will compile crossgcc's libs with -Os. +config CC_STATIC_LIBSTDCXX + bool + prompt "Link libstdc++ statically into the gcc binary" + default y + depends on CC_GCC_4_4_or_later + help + Newer gcc versions use the PPL library which is C++ code. Statically + linking libstdc++ increases the likeliness that the gcc binary will + run on machines other than the one which it was built on, without + having to worry about distributing the matching version of libstdc++ + along with it. + comment "Misc. obscure options." config CC_CXA_ATEXIT