What library does ld option -lrt refer to (Bionic libc)?
When you see a -lsomething, the library name is libsomething. Doing a man librt says the following: NAME librt, libposix4 – POSIX.1b Realtime Extensions library SYNOPSIS cc [ flag… ] file… -lrt [ library… ] DESCRIPTION Functions in this library provide most of the interfaces specified by the POSIX.1b Realtime Extension. See stan- dards(5). Specifically, … Read more