Re: Statically link libwinpthread-1.dll in gdbserver

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 2022-05-02 14:33, Claude Robitaille wrote:
> Pedro Alves wrote:
> Have you tried passing "-static" in CFLAGS/CXXFLAGS?
>
> No. I did not try.
> 
> But, if I do this on the top level configure command line, wouldn't then everything be statically linked? Is it possible to pass this falg only to the gdbserver configure command?

No, but you can use --disable-foo / --disable-foo to control which top level components
you want to build, and/or use "make all-gdbserver" to build just gdbserver.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.