On 25 March 2013 11:16, <tlaronde@polynum.com> wrote:
since the
linking with libraries is order dependent. And one will need to
explicitely state that some lib depends on some others for the
linking (except if the symbols in the library are scanned to detect
unsatisfied dependencies and a search is done in standard directories
to find a library satisfying the dependency etc.).

the loaders do that using pragma lib:
          The order of search to resolve undefined symbols is to load
          all files and libraries mentioned explicitly on the command
          line, and then to resolve remaining symbols by searching in
          topological order libraries mentioned in header files
          included by files already loaded ...