config/cc/gcc.in.2
changeset 2045 fdaa6c7f6dea
parent 2043 efb1058baa31
child 2054 2ec4260a4692
     1.1 --- a/config/cc/gcc.in.2	Wed Jul 28 23:55:10 2010 +0200
     1.2 +++ b/config/cc/gcc.in.2	Thu Jul 29 19:47:16 2010 +0200
     1.3 @@ -7,6 +7,18 @@
     1.4        
     1.5        This will compile crossgcc's libs with -Os.
     1.6  
     1.7 +config CC_STATIC_LIBSTDCXX
     1.8 +    bool
     1.9 +    prompt "Link libstdc++ statically into the gcc binary"
    1.10 +    default y
    1.11 +    depends on CC_GCC_4_4_or_later
    1.12 +    help
    1.13 +      Newer gcc versions use the PPL library which is C++ code.  Statically
    1.14 +      linking libstdc++ increases the likeliness that the gcc binary will
    1.15 +      run on machines other than the one which it was built on, without
    1.16 +      having to worry about distributing the matching version of libstdc++
    1.17 +      along with it.
    1.18 +
    1.19  comment "Misc. obscure options."
    1.20  
    1.21  config CC_CXA_ATEXIT