<div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, Mar 26, 2019 at 2:33 AM Sven Barth via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</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"><div bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr"><div class="gmail_quote">
</div>
</div>
</blockquote>
Those paths are not handled relative to the compiler binary, they
are handled relative to the current directory when calling the
compiler. The compiler does not differentiate whether a parameter is
passed in by the configuration or by command line argument, they are
handled the same (except for macro expansion). So using relative
paths in the configuration is more often than not a bad idea (TM).<br></div></blockquote><div><br></div><div>Well, be that as it may, the fact is that stuff like this, with unprefixed forward-slashes:</div><div><br></div><div>-Fu/units/$fpctarget</div><div><br></div><div>simply doesn't work on Windows. Where is the %basepath% environment variable the configuration template sources refer to expected to be set, exactly? As far as I can tell it evaluates to an empty string pretty much 100% of the time.</div></div></div></div>