josepascual (almudi | 1 May 2007 11:53

RE: some problem in SVN FPC for arm linux (v 2.3.1)

> >.
> >make[6]: Leaving directory
> >`/tmp/freepascal/svn/fpc_26_04_2007/packages/fcl-db/src/dbase'
> >make -C src/sqlite all
> >make[6]: Entering directory
> >`/tmp/freepascal/svn/fpc_26_04_2007/packages/fcl-db/src/sqlite'
> >make[6]: No se hace nada para `all'.
> >make[6]: Leaving directory
> > >
> > > I'm making SVN (v2.3.1) FPC version for arm-linux. Finally I make
> > > ppcrossarm
> > > version for i386 but I can't installed
> > > because make want to install sqlite unit but this unit was not
> compile
> > > during make crossall,
> > >
> > > I suppose it's a problem in make files,
> > > any suggestion?
> 
> You need to build and install the current (from 2.3.1) fpcmake first.
> 

SVN version? or which? I can build snv version but install.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Henry Vermaak | 1 May 2007 12:02
Picon

Re: some problem in SVN FPC for arm linux (v 2.3.1)

> >
> > You need to build and install the current (from 2.3.1) fpcmake first.
> >
>
> SVN version? or which? I can build snv version but install.
>
>

cd utils/fpcm
make clean all
sudo make install

then try making the cross compiler again.

henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

josepascual (almudi | 1 May 2007 12:34

RE: some problem in SVN FPC for arm linux (v 2.3.1)

> > >
> > > You need to build and install the current (from 2.3.1) fpcmake
> first.
> > >
> >
> > SVN version? or which? I can build snv version but install.
> >
> >
> 
> cd utils/fpcm
> make clean all
> sudo make install
> 
> then try making the cross compiler again.
> 

I have done it, I'm going to svn/fpc/ directory and I run fpcmake
-Tarm-linux.

question:
a) should I run fpcmake -pw -Tarm-linux?
b) or should I run fpcmake -rpw -Tarm-linux? (recursive)
c) or only fpcmake -Tarm-linux

thanks,
Jose Pascual

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
(Continue reading)

Henry Vermaak | 1 May 2007 12:33
Picon

Re: some problem in SVN FPC for arm linux (v 2.3.1)

On 01/05/07, josepascual (almudi) <josepascual@...> wrote:
>
> I have done it, I'm going to svn/fpc/ directory and I run fpcmake
> -Tarm-linux.
>
> question:
> a) should I run fpcmake -pw -Tarm-linux?
> b) or should I run fpcmake -rpw -Tarm-linux? (recursive)
> c) or only fpcmake -Tarm-linux
>

fpcmake -rTall

you shouldn't have to do this if you haven't modified Makefile.fpc in
any of the directories.  it doesn't hurt, though.

> thanks,
> Jose Pascual
>

henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

josepascual (almudi | 1 May 2007 13:03

RE: some problem in SVN FPC for arm linux (v 2.3.1)

> On 01/05/07, josepascual (almudi) <josepascual@...> wrote:
> >
> > I have done it, I'm going to svn/fpc/ directory and I run fpcmake
> > -Tarm-linux.
> >
> > question:
> > a) should I run fpcmake -pw -Tarm-linux?
> > b) or should I run fpcmake -rpw -Tarm-linux? (recursive)
> > c) or only fpcmake -Tarm-linux
> >
> 
> fpcmake -rTall
> 
> you shouldn't have to do this if you haven't modified Makefile.fpc in
> any of the directories.  it doesn't hurt, though.

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:
(Continue reading)

Henry Vermaak | 1 May 2007 13:22
Picon

Re: some problem in SVN FPC for arm linux (v 2.3.1)

On 01/05/07, josepascual (almudi) <josepascual@...> 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?

henry
(Continue reading)

josepascual (almudi | 1 May 2007 13:40

RE: some problem in SVN FPC for arm linux (v 2.3.1)

> > 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?
(Continue reading)

Henry Vermaak | 1 May 2007 13:35
Picon

Re: some problem in SVN FPC for arm linux (v 2.3.1)

On 01/05/07, Henry Vermaak <henry.vermaak@...> wrote:
> On 01/05/07, josepascual (almudi) <josepascual@...> 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?
>
(Continue reading)

Henry Vermaak | 1 May 2007 13:39
Picon

Re: some problem in SVN FPC for arm linux (v 2.3.1)

On 01/05/07, josepascual (almudi) <josepascual@...> wrote:
> 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?
>

it should be possible, since i'm using fpc for arm softfloat here.
see if you can get it to work with latest trunk.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@...
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

josepascual (almudi | 1 May 2007 14:02

RE: some problem in SVN FPC for arm linux (v 2.3.1)

> -----Mensaje original-----
> De: fpc-pascal-bounces@... [mailto:fpc-pascal-
> bounces@...] 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@...> wrote:
> > On 01/05/07, josepascual (almudi) <josepascual@...> 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'
(Continue reading)


Gmane