Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: pp.pas(209,27) Error: Error while linking pp.pas(209,27) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted The content of link.res around line 281: 279 /* Adjust the address for the data segment. We

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: pp.pas(209,27) Error: Error while linking pp.pas(209,27) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted The content of link.res around line 281: 279 /* Adjust the address for the data segment. We want to adjust up to 280

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye /home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/h

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye /home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/home/luca/fpc-svn/rtl/units/arm-l

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye -- Luca ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: If the latter, how do I make sure the rtl/packages are built with 'dFPC-ARMEL'? cd fpc && make clean all OPT=-dFPC_ARMEL ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: En/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. Duh, that's also the op prob

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Marco van de Voort ha escrit: As per Terry's instructions I changed t_linux.pas to use ld-linux.so.3 if compiled with -dFPC-ARMEL. That's not necessary, a -FD in the fpc.cfg works too without changing + recompiling. "-FD sets the directory where to search for compiler utilities" H

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Marco van de Voort
> As per Terry's instructions I changed t_linux.pas to use ld-linux.so.3 > if compiled with -dFPC-ARMEL. That's not necessary, a -FD in the fpc.cfg works too without changing + recompiling. > My guess is that the rtl/packages were compiled without the > '-dFPC-ARMEL' when I made the compiler

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. Duh, that's also the op problem. Try with OPT=-O-

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Jonas Maebe
On 31 May 2008, at 22:36, Luca Olivetti wrote: n/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. D

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. Duh, that's also the op problem. Try with OPT=-O-

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Florian Klaempfl
Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. Duh, that's also the op problem. Try with OPT=-O- __

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been spinning the cpu at 100% for the last 10 minutes and I don't think it'll finish. Duh, that's also the op problem. -- Luca ___ fpc-pascal maillist

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Terry Kemp ha escrit: this might help a little bit... http://www.klc.net.nz/linux/?page_id=13 That looks cool, though I'm right now trying a different route for my nokia n800: I downloaded a 2.2.0 native arm release to compile a native arm eabi compiler

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Luca Olivetti
En/na Terry Kemp ha escrit: this might help a little bit... http://www.klc.net.nz/linux/?page_id=13 That looks cool, though I'm right now trying a different route for my nokia n800: I downloaded a 2.2.0 native arm release to compile a native arm eabi compiler under scratchbox, with make zi

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-30 Thread Terry Kemp
On Fri, 2008-05-30 at 12:25 +0530, Nataraj S Narayan wrote: > Hi Florian and other friends > > I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek > board with 340x220 display. I need to write lots of console kinda apps. > > > I am using a "qemu-system-arm" emulated Armel

[fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-30 Thread Nataraj S Narayan
Hi Florian and other friends I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek board with 340x220 display. I need to write lots of console kinda apps. I am using a "qemu-system-arm" emulated Armel Debian machine on a Debian x86 Lenny distro for writing code. I installed