<div dir="ltr"><div dir="ltr"><div dir="ltr">On Sun, Mar 24, 2019 at 6:22 PM Bart <<a href="mailto:bartjunk64@gmail.com">bartjunk64@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Extract from fpc.cfg from 3.0.4 (created by offcial installer)<br>
# searchpath for units and other system dependent things<br>
-FuC:\devel\fpc\3.0.4/units/$fpctarget<br>
-FuC:\devel\fpc\3.0.4/units/$fpctarget/*<br>
-FuC:\devel\fpc\3.0.4/units/$fpctarget/rtl<br>
<br>
Extract from fpc.cfg from fpc trunk: created with fpcmkcfg.exe (from trunk)<br>
# searchpath for units and other system dependent things<br>
-Fu/units/$fpctarget<br>
-Fu/units/$fpctarget/*<br>
-Fu/units/$fpctarget/rtl<br></blockquote><div><br></div><div>The fpc.cfg created by the installer is correct. The one created by default by fpcmkcfg is not (for Windows), as the relative-but-not-really paths like that have no meaning on Windows.</div><div><br></div><div>To be properly cross-platform, it should really generate something like "-Fu..\..\units\$fpctarget" and such, if the assumption is that it's being invoked from the "bin\$fpctarget" directory.</div></div></div></div>