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.