[fpc-pascal] fpc in symlinked directory

Marco van de Voort marcov at stack.nl
Wed Mar 26 15:54:11 CET 2014


In our previous episode, Tomas Hajny said:
> > The two should at least match; and you will not be surprised to hear that
> > I think the linker file is correct :)
>  .
>  .
> 
> It makes no sense to use absolute paths in debug information, because it
> would make distribution of units compiled with debug information to other
> machines impossible (or more precisely - it would be possible to
> distribute them, but debugging would not work :/ ).

If you don't you might neither, since the unit could be included by 

uses xx in  'some/rel/path/xx.pas';

where currentdir is in -Fu and some/rel/path is not.



More information about the fpc-pascal mailing list