I'm trying to build an arm/wince cross-compiler from a Windows XP host from 2.2.1 SVN (rev 10079). I can build a working ppcrossarm.exe from the fpc source folder by:
make compiler_cycle CPU_TARGET=arm OS_TARGET=wince FPC=ppc386.exe However, when I try to build the RTL and packages with the following: make -C rtl clean FPC=ppcrossarm.exe make rtl packages FPC=ppcrossarm.exe OPT="-g" The process terminates at the instruction to build the package FV: ... make -C fv all make[2]: Entering directory `C:/Applications/FreePascal/Source/packages/fv' C:/Applications/FreePascal/Bin/i386-win32/gmkdir.exe -p units/arm-wince ppcrossarm.exe -Twince -Parm -XParm-wince- -Xr -Ur -Xs -O2 -n -FuC:/Applications/FreePascal/Source/r tl/units/arm-wince -FE. -FUunits/arm-wince -g -darm -dRELEASE src/buildfv.pas Fatal: Can't find unit video used by Drivers Fatal: Compilation aborted make[2]: *** [buildfv.ppu] Error 1 make[2]: Leaving directory `C:/Applications/FreePascal/Source/packages/fv' make[1]: *** [fv_all] Error 2 make[1]: Leaving directory `C:/Applications/FreePascal/Source/packages' make: *** [packages] Error 2 I've tried to find the cause of this. It seems that the RTL build process ignores all files in the 'RTL\Win' folder, Video being one of them. However, I don't know what the correct behaviour should be? Please could someone point me in the right direction. Thanks, Paul _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
