Re: Building gdbserver

Claude Robitaille via Gdb
2022-04-18T01:40:48Z

What is the best way to link gdbserver statically?

I now the following configure command line

../binutils-gdb/configure --disable-shared --enable-static --with-static-standard-libraries --disable-gdb --host=x86_64-w64-mingw32

But I still have a dependency on libwinpthread-1.dll (and the Windows system DLL, which are OK).
________________________________
From: Claude Robitaille <claude-robitaille@hotmail.com>
Sent: April 17, 2022 3:40 PM
To: Shahab Vahedi <shahab.vahedi@gmail.com>; Claude Robitaille <claude-robitaille@hotmail.com>
Cc: Gdb <gdb@sourceware.org>
Subject: Re: Building gdbserver

Doing a full make worked.

I guess that a needed path gets added to the include argument list in some other tool.
________________________________
From: Gdb <gdb-bounces+claude=cbcr.me@sourceware.org> on behalf of Claude Robitaille via Gdb <gdb@sourceware.org>
Sent: April 17, 2022 2:07 PM
To: Shahab Vahedi <shahab.vahedi@gmail.com>
Cc: Gdb <gdb@sourceware.org>
Subject: Re: Building gdbserver

Same result.
________________________________
From: Shahab Vahedi <shahab.vahedi@gmail.com>
Sent: April 17, 2022 1:19 PM