<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ben Grasset <<a href="mailto:operator97@gmail.com">operator97@gmail.com</a>> schrieb am Di., 26. März 2019, 13:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank" rel="noreferrer">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></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you read what Joost wrote earlier in this thread? Namely here: <a href="http://lists.freepascal.org/pipermail/fpc-devel/2019-March/040542.html">http://lists.freepascal.org/pipermail/fpc-devel/2019-March/040542.html</a></div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>