[fpc-pascal] Cross compiler win32/ARM error code 2 ?

Florian Klaempfl florian at freepascal.org
Sat Sep 3 10:12:14 CEST 2005


oro06 at sf.net wrote:

> Hi,
> 
> just trying to build fpc (today snapshot  2.1.X) for win32 plateform and
> wince arm target.
> i get the following error message ?
> 
> D:\FPC\2.1.x-src>make all OPT=-vt CPU_TARGET=arm OS_TARGET=wince
> CROSSBINDIR=d:\
> fpc\cross\arm-wince BINUTILSPREFIX=arm-wince-
> INSTALL_PREFIX=d:\FPC\2.1.X  >d:\
> FPC\build.log
> makefile:172: *** The Makefile doesn't support target arm-wince, please
> run fpcm
> ake first.  Stop.
> make[3]: *** [rtlclean] Error 2
> make[2]: *** [cycle] Error 2
> make[1]: *** [compiler_cycle] Error 2
> make: *** [build-stamp.arm-wince] Error 2
> 
> after that, i tried and fpcmake -w -Tall and then build again but same
> error message.
> Any idea ?

Though the message is old ;): Makefiles should have been regenerated in
between. Currently building wince stops in ezcgi:

C:/fpc/compiler/ppcrossarm.exe -Twince -XParm-wince- -Xc -Xr -Ur -Xs  -n
-S2 -FuC:/fpc/rtl/units/arm-wince -FuC:/fpc/packages/base
/paszlib/units/arm-wince -FuC:/fpc/packages/base/netdb/units/arm-wince
-FuC:/fpc/packages/base/libasync -FuC:/fpc/packages/base/pa
sjpeg/units/arm-wince -Fiwince -Fiinc -FE. -FUunits/arm-wince -darm
-dRELEASE inc/ezcgi.pp
ezcgi.pp(84,2) Fatal: Can't open include file "ezcgi.inc"
ezcgi.pp(84,2) Fatal: Compilation aborted
make[2]: *** [ezcgi.ppu] Error 1
make[2]: Leaving directory `C:/fpc/fcl'
make[1]: *** [fcl_all] Error 2
make[1]: Leaving directory `C:/fpc'
make: *** [build-stamp.arm-wince] Error 2

However, imo the most annoying thing of the wince port is currently the
missing binary writer which leads to long compiling times for the
windows unit :/





More information about the fpc-pascal mailing list