win10下使用mingw64编译64位gdb-7.6.2
作者:互联网
gdb编译过程:使用MSYS2 MinGW 64-bit客户端,python要使用2.7
1. pacman -S make
2. pacman -S texinfo
Packages (1) texinfo-6.7-3
3. pacman -S mingw-w64-x86_64-toolchain
4. mv /d/programs/msys64/mingw64/lib/libncurses.a /d/programs/msys64/mingw64/lib/libncurses.a.bak
5. export PATH=/d/programs/Python/Python27:$PATH
6. ../configure CFLAGS=" -g -O2 -Wno-error " CXXFLAGS=" -g -O2 -Wno-error " --prefix=/d/workspace/cpp/gdb --build=x86_64-w64-mingw32
7. make -sj8
8. make install -sj8
标签:programs,pacman,mingw64,gdb,64,O2 来源: https://www.cnblogs.com/qiumingcheng/p/15115872.html