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

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 5 16:10:01 CET 2012


On Thu, 5 Jan 2012 15:53:19 +0100 (CET)
marcov at stack.nl (Marco van de Voort) wrote:

> 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).

fpcres is not the only tool needed by fpc.
Maybe some gui to define the environment vars for running the
compiler can be implemented.


Mattias



More information about the fpc-pascal mailing list