[fpc-pascal] Re: Installing FPC 2.5.1 in Mac OS X

Marco van de Voort marcov at stack.nl
Thu Jan 5 15:53:19 CET 2012


In our previous episode, Vincent Snijders said:
> > Well, aside from installing different compilers in different prefixes (what
> > I usually do), yes.
> >
> > I would file a bug, and see how Laz devels see it.
> 
> I'd say it is a compiler bug, because the compiler doesn't look in the
> right places, does it? Lazarus does do the looking for fpcres, but the
> compiler.

Jonas said it already, the compiler is a commandline tool, and always
uses the %path% for such things.

Lazarus (and GUI apps in general) have less strong awareness of working
directory and PATH.  (to the level that e.g.  Delphi is not particularly
ideal with relative unit dirs either, not even after 14 versions)

So I think it is primarily a Lazarus problem, but of course the conclusion
from the analysis of the Lazarus situation by the Lazarus devs could be that
FPC needs this or that extension to be able to set the location of fpcres.
( or e.g. respect -FD for it, if it doesn't already).



More information about the fpc-pascal mailing list