Building gdbserver

Claude Robitaille via Gdb
2022-04-17T03:36:24Z

Hi, I am trying to cross compile gdbserver.

I am using this little script I did:

#!/bin/bash
#source in binutils-gdb

mkdir gdbserver.build
cd gdbserver.build

../binutils-gdb/gdbserver/configure --host=x86_64-w64-mingw32
make

But I get this error at the beginning of make

Makefile:110: ../gnulib/Makefile.gnulib.inc: No such file or directory
make: *** No rule to make target '../gnulib/Makefile.gnulib.inc'. Stop.

I did try different with different release but most of them don't even go that far; is gdbserver new in binutils-gdb? Is it supposed to be compilable?