[fpc-devel] Compiler compilation failure

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Apr 1 18:41:16 CEST 2006

Good afternoon,

I did a clean checkout of fpc 2.1 branch and tryed to cycle the
compiler to generate a arm crosscompiler. The compilation fails. I am
using 2.0.2 to compile 2.1.x

I noticed that the file where the error is (ogcoff.pas) changed
recently, so it is probably under modification or something like that,
but I thought It might be good if I comment about this.

My build command is:

make cycle CPU_TARGET=arm OS_TARGET=wince

Here are the error messages:

C:/Programas/fpc202/bin/i386-win32/ppc386.exe -Fuarm -Fusystems -Fu../rtl/units/
i386-win32 -Fiarm -FE. -FUarm/units/i386-win32  -darm -dGDB -dBROWSERLOG -dNOOPT
ogcoff.pas(1451,14) Error: Illegal expression
ogcoff.pas(1451,14) Error: Constant Expression expected
ogcoff.pas(1451,14) Fatal: Syntax error, ":" expected but "BEGIN" found
ogcoff.pas(161,20) Fatal: Compilation aborted
make[1]: *** [ppcrossarm.exe] Error 1
make[1]: Leaving directory `C:/Programas/fpc21/compiler'
make: *** [cycle] Error 2

Felipe Monteiro de Carvalho

More information about the fpc-devel mailing list