Sign in Join

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

Mailing lists / fpc-devel / 2005-08

win32 to arm-wince cross plateform

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Oro06

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

Reply by email

Marco van de Voort
to Oro06
Show quoted text 13 lines
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 ?

The crosscompiler is created, and used to create the ppcarm file. However it is simply not installed. Probably it is still in builddir/fpc/compiler/ppccrossarm

Show quoted text 10 lines
-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 ?

There is no wince support to my knowledge

Reply by email

Florian Klaempfl
to Marco van de Voort
Marco van de Voort wrote 17 lines
>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 ? The crosscompiler is created, and used to create the ppcarm file. However it is simply not installed. Probably it is still in builddir/fpc/compiler/ppccrossarm

It's make crossall crossinstall

Show quoted text 16 lines
>-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 ? There is no wince support to my knowledge

2.1.1 has experimental wince support.

Reply by email

Oro06
to Marco van de Voort: The crosscompiler is created, and used to create the ppcarm file. However it is simply…

you're right, ppccrossarm.exe is not installed, but it's there 8-)

concering arm wince support:
i just saw in the 2.1.X snapshoot fpcmake sources that wince have been added !

i like this kind of unsupported functions O:-)

if someone interested, attached cross win32/arm-wince binutils

regard

Marco van de Voort wrote 47 lines
>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 ? > > The crosscompiler is created, and used to create the ppcarm file. However it is simply not installed. Probably it is still in builddir/fpc/compiler/ppccrossarm >-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 ? > > There is no wince support to my knowledge _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email