RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Jose Pascual
Hi, I have using a toolchain Eabi for ppcarm and I have found a problem with assembler generate code from fpc because is generating sfm,stfd,lfm,ldfd instructions in .s file so eabi-as (assembler) is generating errors like . . Error: selected processor does not support `sfm f4,1,[r11,#-64]' . . .

RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Daniël Mantione
Op Thu, 26 Apr 2007, schreef Jose Pascual: > Hi, > > I have using a toolchain Eabi for ppcarm and I have found a problem with > assembler generate code from fpc > because is generating sfm,stfd,lfm,ldfd instructions in .s file so eabi-as > (assembler) is generating errors like > . > . > Error:

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Henry Vermaak
On 26/04/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: The version 2.0.4 on the Free Pascal web page is able to use softfloat. are you supposed to compile the rtl for softfloat, too? Daniël henry ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Henry Vermaak
hi jose On 26/04/07, Henry Vermaak <[EMAIL PROTECTED]> wrote: On 26/04/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: > > The version 2.0.4 on the Free Pascal web page is able to use softfloat. > are you supposed to compile the rtl for softfloat, too? i don't remember 2.0.4 working on softfl

RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Jose Pascual
Hi, 2.3.1 version ? is development snap? donwload from? or make from scratch? how can I say to fpc to compile my pp file for softfloat avoiding to generate asm problem? thank, best regards > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Henry Vermaak
On 26/04/07, Jose Pascual <[EMAIL PROTECTED]> wrote: Hi, 2.3.1 version ? is development snap? donwload from? or make from scratch? there's one from 2007-03-10. i haven't tried it, though. ftp://ftp.freepascal.org/pub/fpc/snapshot/v23/arm-linux/fpc-2.3.1.arm-linux.tar.gz i don't know if thi

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Henry Vermaak
another thing that's important to do when you're using svn is edit compiler/systems/i_linux.pas. go to the arm_linux section and remove the tf_smartlink_sections from the flags. you can also edit the endianness of the target here (endian_little or endian_big). see for example my diff for my big

RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Jose Pascual
Thank you for so much information Henry, one question, You make compiler from scratch with -CfSOFT option, what it means, that compiler generated is capable to use -CfSOFT option or compiler generated is softfloat? best regards Jftp://ftp.freepascal.org/pub/fpc/snapshot/v23ose Pascual > -Men

RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Jose Pascual
Which toolchain are you using for ARM? I suppose you are using kernel for arm with EABI activate and libc with EABI is it right? which version of kernel? which arm? I'm using (begin to use for EABI) gcc 4.1.1-glibc 2.5-EABI (armv4t), kernel 2.6.19 with EABI and ARM920T (at91rm9200) > -Mensa

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Luca Olivetti
En/na Henry Vermaak ha escrit: On 26/04/07, Jose Pascual <[EMAIL PROTECTED]> wrote: Hi, 2.3.1 version ? is development snap? donwload from? or make from scratch? there's one from 2007-03-10. i haven't tried it, though. ftp://ftp.freepascal.org/pub/fpc/snapshot/v23/arm-linux/fpc-2.3.1.arm-l

Re: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Henry Vermaak ha escrit: On 26/04/07, Jose Pascual <[EMAIL PROTECTED]> wrote: Hi, 2.3.1 version ? is development snap? donwload from? or make from scratch? there's one from 2007-03-10. i haven't tried it, though. ftp://ftp.freepascal.org/pub/fpc/snap

RE: [fpc-pascal] Fcp for arm linux for EABI

2007-04-26 Thread Jose Pascual
Hi, in rtl/arm/arm.inc it can read procedure fpc_cpuinit; begin {$if not(defined(wince)) and not(defined(gba)) and not(defined(nds))} asm rfs r0 and r0,r0,#0xffe0 orr r0,r0,#0x0002 wfs r0 end; {$endif} end; altought I'm using a toolchain EABI and Compiling for softflo