[fpc-pascal] FPC for Scratchbox-ARM (compiling with errors)

Jose Pascual josepascual at almudi.com
Tue Feb 20 11:47:58 CET 2007


Hi EveryOne, 

I'm tryng to compiling fpc compiler and units under scratchbox for ARM

I have crosscompile, with fpcarm in linux i386, fpcmake and pp for ARM, I
have copy to scratchbox system

and I have used both program to generate a complete build in scratchbox
using

# export FPC=pp
# make CPU_TARGET=arm OS_TARGET=linux build

but it's fail in math.pp compiling (division by zero error)

.
.
.
/trabajo/temp/pp -Ur -Ur -Xs  -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE.
-FU/trabajo/fpcbuild_2.0.4_exp/fpcsrc/rtl/units/arm-linux -darm -dRELEASE
-Sg ../objpas/typinfo.pp
/trabajo/temp/pp -Ur -Ur -Xs  -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE.
-FU/trabajo/fpcbuild_2.0.4_exp/fpcsrc/rtl/units/arm-linux -darm -dRELEASE
../objpas/math.pp
math.pp(125,22) Fatal: Compilation aborted
An unhandled exception occurred at $B7F0DC04 :
EInvalidOp : Invalid floating point operation
  $B7F0DC04
  $00087A00
  $00087BAC
  $0013E458
  $0014BF1C
  $0014C4C0
  $000FBD4C
  $000F5F14
  $000781A4
  $00032BC8
  $00008368

make[8]: *** [math.ppu] Error 217
.
.
.


any suggestion to resolve it?


Jose Pascual






More information about the fpc-pascal mailing list