[fpc-pascal] some problem in SVN FPC for arm linux (v 2.3.1)
josepascual (almudi)
josepascual at almudi.com
Tue May 1 13:40:05 CEST 2007
> > 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?
>
I'm using a ARM920T (at91rm9200) with arm core ARMv4T
My toolchain is from http://www.freaknet.org/martin/crosstool/packages/
"
armv4t-crosstool-linux-gnueabi 4.1.1 4.1.1 2.5 6.5 48.7 MiB 49.0 MiB
The libraries are compiled for, and the default compiler target is armv4t
instead of the usual armv5t.
"
rfs, wfs are floating point instruction for arm so it's not possible to
compile for a eabi (softfloat) version
of ppccrossarm-eabi (softfloat)
what do you think?
More information about the fpc-pascal
mailing list