gdc

What library does ld option -lrt refer to (Bionic libc)?

廉价感情. 提交于 2019-11-28 08:54:25
What does this option to ld mean? -lrt I know to some degree it means that ld is looking for the library with real-time extensions, but after searching extensively, I couldn't find an exact definition (or which library) this is referring to. With Bionic (android) libc, the android NDK docs detail that this (along with pthreads) has been integrated. I ask because it seems to be implicit (ie when I invoke the compiler, a custom-compiled gdc, directly, I get a message saying that ld cannot find -lrt) EDIT From the Bionic Overview Bionic's C library comes with its own pthread implementation

What library does ld option -lrt refer to (Bionic libc)?

末鹿安然 提交于 2019-11-27 02:30:28
问题 What does this option to ld mean? -lrt I know to some degree it means that ld is looking for the library with real-time extensions, but after searching extensively, I couldn't find an exact definition (or which library) this is referring to. With Bionic (android) libc, the android NDK docs detail that this (along with pthreads) has been integrated. I ask because it seems to be implicit (ie when I invoke the compiler, a custom-compiled gdc, directly, I get a message saying that ld cannot find