> Does the compiler driver pass both -L/lib and -L/usr/lib (or lib64, > etc.) on most systems? On FreeBSD Clang passes only -L/usr/lib and > system relies on the /lib default provided by the linker. gcc on fedora passes /lib64, so yes. Cheers, Rafael