[fpc-devel] Latest FPC SVN , package fpmkunit crosscompiling failure

Joost van der Sluis joost at cnoc.nl
Sat May 14 21:51:10 CEST 2011


On Sat, 2011-05-14 at 11:47 -0700, ABorka wrote:
> Latest FPC SVN 17459:
> Doing a "make all OS_TARGET=win64 CPU_TARGET=x86_64" crosscompiling with 
> 32bit FPC gives the following error:
> 
> =============
> make -C fpmkunit bootstrap
> make[3]: Entering directory `c:/fpc_svn/packages/fpmkunit'
> C:/pp/bin/i386-win32/gmkdir.exe -p units_bs/i386-win32
> C:\pp\bin\i386-win32\ppcrossx64.exe src/fpmkunit.pp -n 
> -Fuc:/fpc_svn/rtl/units/i386-win32 -Fuc:/fpc_svn/packages/hash 
> -Fuc:/fpc_svn/packages/paszlib -Fuc:/fpc_svn/packages/fcl-process 
> -dNO_UNIT_PROCESS -dNO_UNIT_ZIPPER -FUunits_bs/i386-win32	
> PPU Loading C:\fpc_svn\rtl\units\i386-win32\system.ppu
> PPU is compiled for another processor
> Fatal: Can't find unit system used by fpmkunit
> Fatal: Compilation aborted
> make[3]: Leaving directory `c:/fpc_svn/packages/fpmkunit'
> make[2]: Leaving directory `c:/fpc_svn/packages'
> make[1]: Leaving directory `c:/fpc_svn'
> =============
> 
> units_bs ??
> 
> In any case, cant crosscompile FPC at the moment.

Compile again, without make clean. That will help. See bug 19263. Or add
PP=compiler_name

Joost.




More information about the fpc-devel mailing list