[fpc-devel] fpcmkcfg and fpc.cfg questions
pascaldragon at googlemail.com
Tue Mar 26 14:24:00 CET 2019
Ben Grasset <operator97 at gmail.com> schrieb am Di., 26. März 2019, 13:47:
> On Tue, Mar 26, 2019 at 2:33 AM Sven Barth via fpc-devel <
> fpc-devel at lists.freepascal.org> wrote:
>> 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).
> Well, be that as it may, the fact is that stuff like this, with unprefixed
> 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.
Did you read what Joost wrote earlier in this thread? Namely here:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel