i just tried to delete 2.1.X\units\arm_wince and then start a build to see if it was well created.
there are few error messages during compilation but at the end, minimal rtl files were compiled and present there.

in my case i use 2 fpc trees :
a- one for sources and latest fpc svn snapshoot the 'working copy'
d:\SVN\FPC, here there are compiler dir, rtl dir, ...

b-the second is for testing / compilation target
d:\fpc\2.1.X

then from dir (a)  here command line :

make distclean CPU_TARGET=arm OS_TARGET=wince
make -i crossall crossinstall CPU_TARGET=arm OS_TARGET=wince CROSSBINDIR=d:\fpc\binutils\win32-arm-pe BINUTILSPREFIX=arm-wince-pe- INSTALL_PREFIX=d:\FPC\2.1.X >build-win32-arm-wince.log


Ibrahim Moyo a écrit :
unsubscribe

  
Oro06 <[EMAIL PROTECTED]> 8/4/2005 6:57 pm >>>
        
Hi,

ppcrossarm.exe built and installed in right dir : 2.1.X\bin\i386-win32,

that's ok

but crosscompiled libraries(including rtl) are not there
target directories under 2.1.X\units\arm-wince\fcl [... rtl] are
created 
but contain only Package.fpc file
commad line is - from src root - :
fpcmake -rv -Ti386-win32,i386-linux,arm-wince,arm-linux
make distclean
make crossall crossinstall CPU_TARGET=arm OS_TARGET=wince 
CROSSBINDIR=d:\fpc\binutils\win32-arm-pe BINUTILSPREFIX=arm-wince-pe- 
INSTALL_PREFIX=d:\FPC\2.1.X >d:\FPC\build-win32-arm-wince.log

and error message is
Fatal: Can't find unit System
Fatal: Compilation aborted

this come just after this line in the log file :
D:/FPC/2.1.x-src/compiler/ppcrossarm.exe -Twince -XParm-wince-pe- -Xc 
-Xr -Xs  -n -FuD:/FPC/2.1.x-src/rtl -FDd:\fpc\binutils\win32-arm-pe
-FE. 
-FUunits/arm-wince -darm -dRELEASE paszlib.pas

i run the same cmdline targetting i386-linux and arm-linux and it was
ok.
system.pp file exit in the rtl\wince dir, but it is ignored

any suggestion ?

regards






  

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to