GDB compilation fails with MSYS2 under Windows
问题 I need to compile GDB for OS Linux targets but with Windows host OS. (The goal is to have possibility to run GDB client on Windows and connect it to the gdbserver running on Linux). I'm using GDB sources v 9.2 and the following configure command: ../configure --build=x86_64-w64-mingw64 --target=x86_64-unknown-linux-gnu It's running from the build directory inside gdb golder. And I'm getting the following error: mkdir -p -- nat/.deps CXX gdb.o CXX ada-exp.o ada-exp.y: In function 'int ada