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

josepascual (almudi) josepascual at almudi.com
Tue May 1 14:02:35 CEST 2007


> -----Mensaje original-----
> De: fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] En nombre de Henry Vermaak
> Enviado el: martes, 01 de mayo de 2007 13:36
> Para: FPC-Pascal users discussions
> Asunto: Re: [fpc-pascal] some problem in SVN FPC for arm linux (v
> 2.3.1)
> 
> 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.

I have donwloaded SVN, I have built and install for i386-linux so I have a
i386-linux version 2.3.1

I have made again crosscompiling using 2.3.1/ppc386 with CfSOFT and error
appear again. I think it can be
a error $IF, perhaps code with rfs and wfs shouldn't be compile with CfSOFT
flag.









More information about the fpc-pascal mailing list