[fpc-devel] fpcmkcfg and fpc.cfg questions
Sven Barth
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
> forward-slashes:
>
> -Fu/units/$fpctarget
>
> 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:
http://lists.freepascal.org/pipermail/fpc-devel/2019-March/040542.html
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190326/22ef8820/attachment.html>
More information about the fpc-devel
mailing list