anchor.diff:        ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
         ++ optional noSysDirs ../no-sys-dirs.patch
         ++ optional langFortran ../gfortran-driving.patch;
  -
  -    javaEcj = fetchurl {
  -      # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
  -      # `configure' time.
  -
  -      # XXX: Eventually we might want to take it from upstream.
  -      url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
  -      sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
  -    };
  -
  -    # Antlr (optional) allows the Java `gjdoc' tool to be built.  We want a
  -    # binary distribution here to allow the whole chain to be bootstrapped.
  -    javaAntlr = fetchurl {
  -      url = http://www.antlr.org/download/antlr-4.4-complete.jar;
  -      sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
  -    };
  -
  -    xlibs = [
  -      libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
  -      xproto renderproto xextproto inputproto randrproto
  -    ];
  -
  -    javaAwtGtk = langJava && x11Support;
   
       /* Platform flags */
       platformFlags = let
  
positive.code:   # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
    # library headers and binaries, regarless of the language being compiled.
    #
    # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
    # `--with-gmp' et al., e.g., when building
    # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
    # them to $CPATH and $LIBRARY_PATH in this case.
    #
    # Likewise, the LTO code doesn't find zlib.
    #
    # Cross-compiling, we need gcc not to read ./specs in order to build the g++
  
negative.code: 
  in
  
  stdenv.mkDerivation ({
    name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
  
  