[fpc-pascal] FPC for Scratchbox-ARM (compiling with errors)
Daniël Mantione
daniel.mantione at freepascal.org
Tue Feb 20 11:54:12 CET 2007
Op Tue, 20 Feb 2007, schreef Jose Pascual:
> 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=3Dpp
> # make CPU_TARGET=3Darm OS_TARGET=3Dlinux build
> =
> but it's fail in math.pp compiling (division by zero error)
Is /trabajo/temp/pp still an i386 compiler? What compiler version is it? =
A possible solution could be to cycle an i386 compiler first (include =
debug info with -g in case it'll have the same problem), and use that as
bootstrap compiler.
Dani=EBl
> /trabajo/temp/pp -Ur -Ur -Xs -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -F=
E.
> -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 -F=
E.
> -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
> =
> =
> =
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>=20
More information about the fpc-pascal
mailing list