Re: a question about -l option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ali hagigat <hagigatali@xxxxxxxxx> writes:

> My question is about the link option, -l. Like, -lrt,  We know that
> librt.a (or librt.so) is the actual file which is searched for. But i
> had a an experience and i saw that if there is no librt.a, other "rt"
> combinations are searched too, like , librtdm.a.

That is not correct, at least not on GNU/Linux or Unix systems.  If you
use -lrt, the linker will search for librt.a and librt.so.  It will not
search for librtdm.a.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux