[fpc-pascal] Re: Cross-compiling with FPC 2.5.1

Marco van de Voort marcov at stack.nl
Tue Oct 26 17:40:18 CEST 2010


In our previous episode, Jonas Maebe said:
> Because that's probably the version that the person who added support  
> for cross-assembling to Win32 used. You can change the prefix by  
> adding the following to your make command line:
> 
> OPT="-XPi686-mingw32-"
> 
> If that crossbinutils folder is not in your path, you also have to use
> 
> OPT="-XPi686-mingw32- -FD/full/path/to/crossbinutils"

IIRC it is wiser to use the variables (CROSSBINDIR and CROSSBINUTILSPREFIX
or so, see buildfaq), because these are then only applied to the relevant
cycles of make crosscycle.



More information about the fpc-pascal mailing list