anchor.diff:      '' else ''
         echo $cc > $out/nix-support/orig-cc
   
  -      # GCC shows $cc/lib in `gcc -print-search-dirs', but not
  -      # $cc/lib64 (even though it does actually search there...)..
  +      # GCC shows ${cc_solib}/lib in `gcc -print-search-dirs', but not
  +      # ${cc_solib}/lib64 (even though it does actually search there...)..
         # This confuses libtool.  So add it to the compiler tool search
         # path explicitly.
  -      if [ -e "${cc.out}/lib64" -a ! -L "${cc.out}/lib64" ]; then
  +      if [ -e "${cc_solib}/lib64" -a ! -L "${cc_solib}/lib64" ]; then
           ccLDFlags+=" -L${cc_solib}/lib64"
  -        ccCFlags+=" -B${cc.out}/lib64"
  +        ccCFlags+=" -B${cc_solib}/lib64"
         fi
         ccLDFlags+=" -L${cc_solib}/lib"
   
  
positive.code:       echo "$ccLDFlags" > $out/nix-support/cc-ldflags
        echo "$ccCFlags" > $out/nix-support/cc-cflags
  
        ccPath="$cc/bin"
        ldPath="${binutils_bin}/bin"
  
        # Propagate the wrapped cc so that if you install the wrapper,
  
negative.code: 
        # Find the gcc libraries path (may work only without multilib).
        ${optionalString cc.langAda or false ''
          basePath=`echo ${cc_solib}/lib/*/*/*`
          ccCFlags+=" -B$basePath -I$basePath/adainclude"
          gnatCFlags="-aI$basePath/adainclude -aO$basePath/adalib"
          echo "$gnatCFlags" > $out/nix-support/gnat-cflags
  