[fpc-pascal] DateToStr in arm does not work!

Marc Santhoff M.Santhoff at t-online.de
Tue Jul 3 22:18:32 CEST 2007


Am Dienstag, den 03.07.2007, 21:49 +0200 schrieb Bernd Mueller:
> Henry Vermaak wrote:
> > On 03/07/07, josepascual <josepascual at almudi.com> wrote:
> >> Thank you henry,
> >>
> >> I have downloaded svn version 7943 how can I donwload svn 7929?
> >>
> >> How are you build fpc for arm? make clean crossall CPU_TARGET=arm
> >> OS_TARGET=linux ....?
> >> Which version of binutils do you have? (eabi?)
> >> Is SOFTFLOAT in freepascal the equivalent to EABI in c?
> >>
> > 
> > soft float just means that the compiler needs to emulate the floating
> > point unit if it doesn't exist in your hardware (like some arm
> > processors).  if you have an fpu, then you don't have to worry about
> > soft float.  
> Are you sure? If I remember right, using softfloat in conjunction with 
> fpc means, that the compiler never emits floating point operations. All 
> the floating point is going through the softfpu unit. This means, *if* 
> you have a fpu, you waste speed.

The ARM926EJ-S core does not have a FPU but an interface for
coprocessors. So if there is floating point hardware built in depends on
the chip manufacturer.

Not having FPU hardware is currently the most possible case for ARM7 and
ARM9, the only chip I know of having a VFP9 FPU is the LPC3180 from
Phillips. This may change, at least Fujitsu has some designs in the
pipeline for 3rd or 4th quarter of this year IIRC.

Marc





More information about the fpc-pascal mailing list