https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98732

--- Comment #1 from 郑之为 <jettzheng at foxmail dot com> ---
Get the gcc executables with this shell script(git must be installed first):
echo rm dir
rm -rf gcc
echo clone repo
git clone https://github.com/zero9178/GNU-Toolchain-for-Windows.git -b GCC-11
--depth=1 gcc
echo enter repo
cd gcc
echo rm undir1
rm -rf i686-w64-mingw32
echo rm undir2
rm -rf etc
echo enter bin
cd bin
echo rm bin
rm -rf i686*
rm -rf x86_64*
echo enter lib
cd ..
cd lib/gcc
echo rm udir
rm -rf i686-w64-mingw32
echo enter libexec
cd ../..
cd libexec/gcc
echo rm udir
rm -rf i686-w64-mingw32
echo copy
cd ../../..
rm -rf /c/gcc/*
cp -rf gcc /c/gcc

PS: create C:\gcc first

Reply via email to