Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-13 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 05 Oct 2010, at 10:05, Mark Morgan Lloyd wrote: When running 2.4.0 on an ARM system (Debian v5 Lenny, armel) with limited memory (32Mb RAM + 768Mb swap) and using it to compile a large project (Lazarus 0.9.28.2) I'm seeing intermittent failures which go away if the make

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-13 Thread Sven Barth
Am 05.10.2010 10:13, schrieb Jonas Maebe: On 05 Oct 2010, at 10:05, Mark Morgan Lloyd wrote: When running 2.4.0 on an ARM system (Debian v5 Lenny, armel) with limited memory (32Mb RAM + 768Mb swap) and using it to compile a large project (Lazarus 0.9.28.2) I'm seeing intermittent failures

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-13 Thread Jonas Maebe
On 13 Oct 2010, at 09:58, Sven Barth wrote: Am 05.10.2010 10:13, schrieb Jonas Maebe: A couple of days ago I fixed an error in svn trunk for ARMEL that caused the stack to become temporarily unbalanced after performing syscalls with 5 or more parameters (the bug is still there for OABI,

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-13 Thread Bernd Mueller
Jonas Maebe wrote: On 13 Oct 2010, at 09:58, Sven Barth wrote: Am 05.10.2010 10:13, schrieb Jonas Maebe: A couple of days ago I fixed an error in svn trunk for ARMEL that caused the stack to become temporarily unbalanced after performing syscalls with 5 or more parameters (the bug is still

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-13 Thread Sven Barth
Am 13.10.2010 13:04, schrieb Jonas Maebe: On 13 Oct 2010, at 09:58, Sven Barth wrote: Am 05.10.2010 10:13, schrieb Jonas Maebe: A couple of days ago I fixed an error in svn trunk for ARMEL that caused the stack to become temporarily unbalanced after performing syscalls with 5 or more

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-05 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: I can confirm that I can build FPC 2.4.0 to run under Debian Lenny on an ARM-based system (Cisco/Linksys NSLU2 Slug) using make 'NOGDB=1' 'OPT=-dFPC_ARMEL -CfSOFT' all This appears to be OK to the extent that it can compile Lazarus 0.9.28.3, although my initial

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-05 Thread Jonas Maebe
On 05 Oct 2010, at 10:05, Mark Morgan Lloyd wrote: When running 2.4.0 on an ARM system (Debian v5 Lenny, armel) with limited memory (32Mb RAM + 768Mb swap) and using it to compile a large project (Lazarus 0.9.28.2) I'm seeing intermittent failures which go away if the make is restarted.

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-05 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 05 Oct 2010, at 10:05, Mark Morgan Lloyd wrote: When running 2.4.0 on an ARM system (Debian v5 Lenny, armel) with limited memory (32Mb RAM + 768Mb swap) and using it to compile a large project (Lazarus 0.9.28.2) I'm seeing intermittent failures which go away if the make

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-05 Thread Mark Morgan Lloyd
Jonas Maebe wrote: I've requested an account on the GCC compile farm (http://gcc.gnu.org/wiki/CompileFarm, anyone contributing to any free software project can do so), and I guess that at least one of their ARM machines will also support OABI binaries. If you don't get anywhere I might be

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-10-05 Thread Florian Klaempfl
Am 05.10.2010 10:13, schrieb Jonas Maebe: On 05 Oct 2010, at 10:05, Mark Morgan Lloyd wrote: When running 2.4.0 on an ARM system (Debian v5 Lenny, armel) with limited memory (32Mb RAM + 768Mb swap) and using it to compile a large project (Lazarus 0.9.28.2) I'm seeing intermittent failures

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-23 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. I can confirm that I can build FPC 2.4.0 to run under Debian Lenny on

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-22 Thread Jonas Maebe
On 21 Aug 2010, at 00:19, Mark Morgan Lloyd wrote: Jonas Maebe wrote: On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. Thanks Jonas,

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-22 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Supported ABI targets: DEFAULT .. but it doesn't actually say what the default is. To check whether or not you have an ARM EABI compiler, compile any file with -vei and verify that the output contains the line: Target OS: Linux for ARMEL (rather than Linux for ARM)

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-21 Thread Henry Vermaak
On 20 August 2010 23:10, Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: Henry Vermaak wrote: I've managed to get trunk working on my slug (also on debian lenny) quite a while ago, so I hope it's still possible.  I was using trunk to build a cross compiler, though. Thanks Henry.

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-21 Thread Mark Morgan Lloyd
Henry Vermaak wrote: Is my recollection correct that somebody's working on the MIPS port? I'm sure Florian did some work on that. I have no experience with mips, but I saw that there are some Loongson laptops now. Exciting stuff. I see discussion of it in this list last November, and

[fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Mark Morgan Lloyd
I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was Etch- things got a bit cloudy after that. The kernel being shipped with Lenny is 2.6.26-2 and I note CONFIG_AEABI=y CONFIG_OABI_COMPAT=y If I download the binary for 2.2.2 it won't compile a trivial app

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Jonas Maebe
On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: Is what I am doing reasonable, or should I- as an example- be using 2.4.0 to rebuild itself with -CaEABI before trying to go any further? It's best to compile 2.4.0 with -dFPC_ARMEL (no need to use -CaEABI) and use the resulting compiler.

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Stefan Kisdaroczi
On 20.08.2010 17:47, Mark Morgan Lloyd wrote: I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was Etch- things got a bit cloudy after that. The kernel being shipped with Lenny is 2.6.26-2 and I note CONFIG_AEABI=y CONFIG_OABI_COMPAT=y If I download the

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Stefan Kisdaroczi
On 20.08.2010 18:51, Stefan Kisdaroczi wrote: On 20.08.2010 17:47, Mark Morgan Lloyd wrote: I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was Etch- things got a bit cloudy after that. The kernel being shipped with Lenny is 2.6.26-2 and I note

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: Is what I am doing reasonable, or should I- as an example- be using 2.4.0 to rebuild itself with -CaEABI before trying to go any further? It's best to compile 2.4.0 with -dFPC_ARMEL (no need to use -CaEABI) and use the

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Jonas Maebe
On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. Jonas___ fpc-devel maillist -

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Henry Vermaak
On 20 August 2010 21:38, Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: Jonas Maebe wrote: On 20 Aug 2010, at 17:47, Mark Morgan Lloyd wrote: Is what I am doing reasonable, or should I- as an example- be using 2.4.0 to rebuild itself with -CaEABI before trying to go any further?

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Mark Morgan Lloyd
Henry Vermaak wrote: I've managed to get trunk working on my slug (also on debian lenny) quite a while ago, so I hope it's still possible. I was using trunk to build a cross compiler, though. Thanks Henry. I've definitely had both FPC and Lazarus running natively on ARM in the past, but I

Re: [fpc-devel] Building and running FPC natively on ARM under Debian Lenny

2010-08-20 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 20 Aug 2010, at 22:38, Mark Morgan Lloyd wrote: What should I be doing here- using both -Cf and -d? Yes, that should solve the problem. For the resulting EABI compiler, -Cfsoft will be the default. Thanks Jonas, work continues and I'll report back. Is there a way of