[fpc-pascal] fpc in symlinked directory

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 25 19:14:17 CET 2014


Hi,

When I start fpc in a directory containing symlinks the compiler uses
the resolved directory, leading to wrong source file names.
For example:

/tmp/orig/project1.pas
/tmp/link -> /tmp/orig

cd /tmp/link
fpc -vb project1.pas
/tmp/orig/project1.pas(6,5) Error: Identifier not found "w"

Is there a workaround?
For example a way to tell fpc to use the PWD environment
variable?

Mattias



More information about the fpc-pascal mailing list