[fpc-pascal] -Fu unit search path and network paths
Marco van de Voort
fpc at pascalprogramming.org
Mon Sep 21 14:44:40 CEST 2020
Op 2020-09-21 om 13:44 schreef LacaK via fpc-pascal:
>
>>>> are supported in -Fu (unit search path) networks paths? i.e.
>>>> -Fu\\server\share -Fu\\server\share\path ?
>>> Correction: unit cannot be found only if it is placed in "share
>>> root" \\server\share !
>>> When is placed in \\server\share\path then it is found.
>>>
>>> Why?
>>
>> Possibly Share vs directory. A directory has 4 slashes
>> (\\x\y\<something), a share two.
>>
>> Try \\server\share\.
> *Does not works. More confusing is that, when I map \\server\share to
> F:\ and I add F:\ to search path it does not work also!
> *
>
> *(if unit is in any subdirectory i.e. F:\something then it works ...
> so only root does not work!)*
>
> *
> *
>
[0.015] Handling option "-Fud:\"
[0.015] interpreting option "-Fud:\"
[0.015] Path "D:\" not found
So the path exist function probably fails on root dirs.
More information about the fpc-pascal
mailing list