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=pp > # make CPU_TARGET=arm OS_TARGET=linux 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ël > /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 > > > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal