[fpc-devel] win32 to arm-wince cross plateform

Oro06 orinaudo at gmail.com
Wed Aug 3 15:53:47 CEST 2005


Hi there,

not very familiar with gnu binutils stuffs and i tried in a first step
to build correctly arm-linux cross compiler.

according to buidFaq, it was just necessary to run :
fpcmake -Tall 
make distclean
make all install OPT=-vt CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=d:\fpc\binutils\win32-arm-elf BINUTILSPREFIX=arm-elf-
INSTALL_PREFIX=d:\FPC\2.0.0 >d:\FPC\build-win32-arm-linux.log
and then all seems to run ok.

-but no ppccrossarm.exe was created in the bin\i386-win32
instead, a new directory  bin\arm-linux was created and i get a 
a ppcarm  (linux executable file) it's seems that result is
a real arm-linux fpc compiler and not a cross compiler :)

*does someone have experimented that  ? any suggestion ?

-in a second step i'm trying to do the same but targetting arm-wince 
instead but i get target not exist error message and try
following changes to MakeFile.fpc

line92 : SMARTTARGETS=win32 [....] wince
line92 : SMARTTARGETS=win32 [....] wince
line 452 & 455, just ' wince' added at the end of each line
but fpcmake result always in 'no target'

* any idea ?

Regards

ps1: using fpc 2.0.0 release setup +src zip
ps2: win32 cross arm-elf binutils (ld.exe v2.14) from gnude.sf.net 
ps3: win32 cross arm-pe binutils (ld.exe v2.13) from mamaich.kasone.com




More information about the fpc-devel mailing list