[fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)

Henry Vermaak henry.vermaak at gmail.com
Tue May 1 13:35:32 CEST 2007


On 01/05/07, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> On 01/05/07, josepascual (almudi) <josepascual at almudi.com> wrote:
> >
> > I have downloaded SVN version for 2.1.3. I have no patch anything as other
> > times before,
> >
> > I'm compiling with -CfSOFT (I want to generate a ppcrossarm eabi)
> >
> > make clean crossall CPU_TARGET=arm OS_TARGET=linux
> > CROSSBINDIR=/usr/local/arm/gcc-4.1.1-glibc-2.5-gnueabi/bin/
> > BINUTILSPREFIX=armv4t-crosstool-linux-gnueabi-
> > PP=/usr/local/lib/fpc/2.1.1/ppc386  OPT="-CfSOFT"
> > .
> > .
> > .
> > /trabajo/x86/freepascal/svn/fpc/rtl/units/arm-linux/system.s: Assembler
> > messages:
> > /trabajo/x86/freepascal/svn/fpc/rtl/units/arm-linux/system.s:12610: Error:
> > selected processor does not support `rfs r0'
> > /trabajo/x86/freepascal/svn/fpc/rtl/units/arm-linux/system.s:12613: Error:
> > selected processor does not support `wfs r0'
> > system.pp(335) Error: Error while assembling exitcode 1
> > system.pp(335) Fatal: There were 2 errors compiling module, stopping
> > Fatal: Compilation aborted
> > .
>
> there might be a problem with your binutils.  are you sure you're
> using the right binutils for your device?  what device are you using,
> exactly?
>

actually, rfs is a floating point co-processor instruction (if i'm not
mistaken).  can you try this with latest fpc trunk, please, as -CfSOFT
might be broken for your fpc.  follow the instructions on
http://www.freepascal.org/develop.var#svn to get the latest trunk.

henry



More information about the fpc-pascal mailing list