<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body smarttemplateinserted="true">
    <div id="smartTemplate4-template">
      <blockquote type="cite"><br>
        Some are hardcoded, and fpc.cfg might contain -Fl lines with
        paths too from parsing ld.so.conf on install
        <br>
      </blockquote>
    </div>
    <div>Well, I did not put them in ~/.fpc.cfg<br>
    </div>
    <div>In /etc/fpc.cfg there is<br>
    </div>
    <div><br>
    </div>
    <div>-Fl/usr/lib/gcc/x86_64-linux-gnu/10<br>
      -Fl/usr/lib/x86_64-linux-gnu/fpc/$fpcversion/lib/$FPCTARGET<br>
      -Fl/usr/lib/$fpctarget-*<br>
    </div>
    <div><br>
    </div>
    <div>The last one explains it. I actually have a directory
      /usr/lib/'${DEB_HOST_MULTIARCH}'.  Why would Ubuntu even ship such
      a directory.<br>
    </div>
    <div><br>
    </div>
    <div>$ dpkg -S DEB_HOST_MULTIARCH<br>
      libnss3:i386, libnss3:amd64:
      /usr/lib/${DEB_HOST_MULTIARCH}/libfreeblpriv3.chk<br>
      libnss3:i386, libnss3:amd64:
      /usr/lib/${DEB_HOST_MULTIARCH}/libfreeblpriv3.so<br>
      libnss3:i386, libnss3:amd64:
      /usr/lib/${DEB_HOST_MULTIARCH}/libfreebl3.chk<br>
      libnss3:i386, libnss3:amd64:
      /usr/lib/${DEB_HOST_MULTIARCH}/libfreebl3.so<br>
      libnss3:i386, libnss3:amd64: /usr/lib/${DEB_HOST_MULTIARCH}<br>
      <br>
    </div>
    <div><br>
    </div>
    <div>Benito<br>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div class="moz-cite-prefix">On 18.11.20 20:33, Marco van de Voort
      via fpc-pascal wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e7135ac5-5972-e8a7-15da-0df8021e645d@pascalprogramming.org">
      <br>
      Op 2020-11-18 om 19:21 schreef Benito van der Zander via
      fpc-pascal:
      <br>
      <blockquote type="cite">
        <br>
        where do the SEARCH_DIRs in link.res come from?
        <br>
      </blockquote>
      <br>
      Some are hardcoded, and fpc.cfg might contain -Fl lines with paths
      too from parsing ld.so.conf on install
      <br>
      <br>
      <br>
      _______________________________________________
      <br>
      fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
      <br>
    </blockquote>
  </body>
</html>