anchor.diff:  # mingw CRT
    && mkdir -p $BUILD/build-mingw-w64-crt/ \
    && cd $BUILD/build-mingw-w64-crt/ \
  - && ../mingw-w64-v5.0.0/configure --host=$TARGET --prefix=$TARGET_PREFIX --without-header --with-sysroot=${TARGET_PREFIX} \
  + && ../mingw-w64-v5.0.1/configure --host=$TARGET --prefix=$TARGET_PREFIX --without-header --with-sysroot=${TARGET_PREFIX} \
    && make \
    && make install \
    && cd $BUILD \
  - && rm -rf build-mingw-w64-crt mingw-w64-v5.0.0 \
  + && rm -rf build-mingw-w64-crt mingw-w64-v5.0.1 \
   # gcc phase 2
    && cd $BUILD/build-gcc \
    && make all \
  
positive.code: FROM tim03/gcc:6.3
  MAINTAINER Chen, Wenli <chenwenli@chenwenli.com>
  
  ENV 	PRJROOT=/opt/cross/w64 \
  	TARGET=x86_64-w64-mingw32 
  
negative.code:  && cd $BUILD \ 
   && rm -rf build-binutils binutils-2.27 \
  # mingw headers
   && curl -L http://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v5.0.1.tar.bz2 | tar jxf - \
   && mkdir -p $BUILD/build-mingw-w64-header/ \
   && cd $BUILD/build-mingw-w64-header/ \
   && ../mingw-w64-v5.0.1/configure --host=${TARGET} --prefix=${TARGET_PREFIX} --with-sysroot=${TARGET_PREFIX} --without-crt \
   && make \
   && make install \
   && cd $BUILD \
  