Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-08

Cross compiler win32/ARM error code 2 ?

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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 ?
Regards

Florian Klaempfl
to Unknown author
Show quoted text 22 lines
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 :/