[fpc-devel] Problems getting a arm cross-compiler for symbian

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Nov 24 23:11:09 CET 2007


Hello,

I just added symbian arm target and I tryed to build a cross-compiler
using a modification of my old script to build the symbian-x86
compiler:

PATH=C:\Programas\lazarus220\fpc\2.2.0\bin\i386-win32
cd c:\Programas\fpcbuild\fpcsrc
cd compiler
make CPU_TARGET=arm
cd ..
cd rtl
cd symbian
make FPC=C:\Programas\fpcbuild\fpcsrc\compiler\ppcarm.exe
cd ..
cd ..

Now, that only generates a ppcarm.exe, and not what I really expected,
a ppcrossarm.exe

I ignored that and insisted to see if it works and:

C:\Programas\fpcbuild\fpcsrc\rtl\symbian>make FPC=C:\Programas\fpcbuild\fpcsrc\c
ompiler\ppcarm.exe
makefile:2155: warning: overriding commands for target `system.ppu'
makefile:2153: warning: ignoring old commands for target `system.ppu'
C:/Programas/fpcbuild/fpcsrc/compiler/ppcarm.exe -Tsymbian -Parm -XParm-symbian-
 -Xr -Fi../inc -Fi../arm -FE. -FU../../rtl/units/arm-symbian -darm  -Us -Sg syst
em.pp -Fi../win
Error: Illegal parameter: -Tsymbian
make: *** [system.ppu] Error 1

Why does FPC think there is no -Tsymbian for arm?

I compared everything I did for x86 and I can't see what I did
different here. calling pparm.exe on the command line I get:

  -T<x>  Target operating system:
      -Tlinux    Linux
      -Twince    Windows CE

Symbian seams to be missing here too....

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list