[fpc-devel] subtools fpcres and parameter -Xp
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 12 12:29:55 CET 2014
> Sven Barth <pascaldragon at googlemail.com> hat am 12. Februar 2014 um 09:03
> geschrieben:
>
>
> Am 11.02.2014 23:19, schrieb Mattias Gaertner:
> > Hi,
> >
> > How does the compiler (2.6.2, 2.6.4, 2.7.1) search for sub tools like
> > fpcres?
> >
> > For example: first in its working directory, then in PATH, etc.
> Usual order is this:
> - path specified by -FD
> - path of compiler executable (ppcXXX)
> - PATH variable (or "Commands" on Mac OS Classic)
>
> > What parameters effects this search? -Xp?
> No, -FD is the parameter for this.
Thanks.
To summarize:
When someone installs under Linux fpc 2.6.2 via installer and 2.7.1 manually to
/usr/local you get:
fpc 2.6.2:
/usr/bin/fpc,fpcres,...
/usr/lib/fpc/2.6.2/ppc386
fpc 2.7.1:
/usr/local/bin/fpc,fpcres,...
/usr/local/lib/fpc/2.7.1/ppc386,ppcx86,...
Then you can
a) set PATH
b) or call /full/path/ppcxxx and pass -FD
c) or call fpc and pass -FD and -Xp
d) or call fpc and pass -FD and -V
Correct?
Mattias
More information about the fpc-devel
mailing list