GDB 8.3.1 gdbserver linker error: needs -lrt
Eli Zaretskii
eliz@gnu.org
Fri Jan 31 17:17:00 GMT 2020
> From: Paul Smith <psmith@gnu.org>
> Cc: gdb@sourceware.org
> Date: Fri, 31 Jan 2020 11:48:49 -0500
>
> > Any reason why we don't use pkg-config for finding out these
> > dependencies?
>
> I'm not sure how pkg-config helps in this situation... isn't pkg-config
> used for obtaining correct options for using another package?
>
> In this case, we need a new library to link gdbserver directly, not
> because of some other package that gdbserver depends on, so we don't
> have a package that might contain a pkg-config we could use.
Sorry, I thought liblzma needed -lrt. Apologies if I was confused.
More information about the Gdb
mailing list