[fpc-devel] buildfaq

Henry Vermaak henry.vermaak at gmail.com
Wed Aug 4 16:05:41 CEST 2010

On 4 August 2010 14:30, Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> Henry Vermaak schrieb:
>>> 2) An unqualified reference (PP=mypp) most proably fails - where exactly
>>> does Make search for that compiler?
>> See Makefile from line 109 onwards.  It first looks for fpc(.exe) on the
>> path.  If it finds that, it gets the real compiler exe with -PB.  If
>> fpc(.exe) isn't found, it tries to find ppc386(.exe) on the path.
> I'm not very familiar with the make syntax :-(

Heh, prepare to lose your mind.

> Why ppc386, on a 64 bit platform?

Don't know.  It should look for something like ppc$(arch)$(exeext), I guess.

> Should I copy or add a link, from ppc386.exe to ppcx64.exe?

Why not just pass FPC when you build?

More information about the fpc-devel mailing list