Re: [fpc-devel] "embedded" again

2013-01-21 Thread Thomas Schatzl
Hi, On Mon, 2013-01-21 at 17:27 +0100, Bernd Mueller wrote: > Thomas Schatzl wrote: > >> > >> http://packages.debian.org/squeeze/armel/fp-compiler/download -> > >> http://ftp.de.debian.org/debian/pool/main/f/fpc/fp-compiler_2.4.0-2_armel.deb > >> > >> > >> so I supposed it would contain the nec

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Sven Barth
On 21.01.2013 17:01, Michael Schnell wrote: On 01/21/2013 04:35 PM, Thomas Schatzl wrote: Any precompiled package on the internet is likely to be armel/softfp. My favorite would be to install all "packages" (rtl, fcl, ...) as source files (like "trunk") and have them compiled on demand with the

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > Nonetheless I'll follow you suggestion to use the "tar" distribution. > But how to do this in full accordance with the ARM flavor. > > I'll work through you other comments when at home. (The QNAP is part of > my home server equipment) ... If the

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Marco van de Voort
In our previous episode, Thomas Schatzl said: > There is no 2.6.x armhf compiler. There are no plans to backport these > changes afaik. Afaik Mazen created a backport patch for the debian port. It is not merged in fixes_2_6, but it is available as a debian specific patch in fpcbuild of 2.6.x, to

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Bernd Mueller
Thomas Schatzl wrote: http://packages.debian.org/squeeze/armel/fp-compiler/download -> http://ftp.de.debian.org/debian/pool/main/f/fpc/fp-compiler_2.4.0-2_armel.deb so I supposed it would contain the necessary stuff for all supported flavors. But maybe I did not look hard enough. Armel mea

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 05:10 PM, Mark Morgan Lloyd wrote: Sven is trying to make the point that the fp IDE and Lazarus use the debugger completely differently: fp (as I've said at least twice) uses libgdb which doesn't (to the best of my knowledge) run on ARM, Lazarus talks to standard gdb I did u

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 01/21/2013 04:18 PM, Sven Barth wrote: Having a working GDB and a working debugger in the fp IDE are two different things, because unlike Lazarus the fp IDE does not use the command line based interface, but uses a library version of GDB which is AFAIK since some vers

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 04:35 PM, Thomas Schatzl wrote: Any precompiled package on the internet is likely to be armel/softfp. My favorite would be to install all "packages" (rtl, fcl, ...) as source files (like "trunk") and have them compiled on demand with the project make. I do know that Lazarus does t

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Sven Barth
Am 21.01.2013 16:39, schrieb Michael Schnell: On 01/21/2013 04:18 PM, Sven Barth wrote: Having a working GDB and a working debugger in the fp IDE are two different things, because unlike Lazarus the fp IDE does not use the command line based interface, but uses a library version of GDB which i

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 04:35 PM, Thomas Schatzl wrote: Short story: make sure to install and use the correct compiler. Yep. The one I installed from the Debian squeeze package was able to successfully compile a hello world program. So it (1) does run and (2) does not compile complete nonsense. Its a beg

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 04:18 PM, Sven Barth wrote: Having a working GDB and a working debugger in the fp IDE are two different things, because unlike Lazarus the fp IDE does not use the command line based interface, but uses a library version of GDB which is AFAIK since some versions no longer compiled

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Thomas Schatzl
Hi, On Mon, 2013-01-21 at 15:42 +0100, Michael Schnell wrote: > On 01/21/2013 03:32 PM, Marco van de Voort wrote: > > I do not understand. There is no such thing as an universal arm package. So > > there is no "the" lazarus debian package for arm. > Of course you are right, but to the user it look

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Sven Barth
Am 21.01.2013 14:04, schrieb Michael Schnell: On 01/21/2013 01:55 PM, Mark Morgan Lloyd wrote: Yes, but as I said earlier in the thread ARM is the only platform that I've not got libgdb compiled for, and Jonas (I think) said it wasn't surprising in view of the number of ARM variants. I lear

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 03:32 PM, Marco van de Voort wrote: I do not understand. There is no such thing as an universal arm package. So there is no "the" lazarus debian package for arm. Of course you are right, but to the user it looks like. I suppose apt-get and friends is installed with the distribution

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > > Afaik raspberry pi two alone counts as two favours. The basic Debian armv5 > > eabi version, and the armv6 vfp(2?) Raspbian. > Does the Lazarus Debian package automatically detect the ARM flavor I do not understand. There is no such thing as an un

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 02:13 PM, Marco van de Voort wrote: Afaik raspberry pi two alone counts as two favours. The basic Debian armv5 eabi version, and the armv6 vfp(2?) Raspbian. Does the Lazarus Debian package automatically detect the ARM flavor and behave appropriately ? -Michael __

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Marco van de Voort
In our previous episode, Michael Schnell said: > I learned that Lazarus is supposed to run on a Raspbery Pi. So I suppose > fp will run and be able to work with gdb, too. > > I am not sure about the difference in ARM-flavors between Raspberry Pi > and QBNNAP, though (the two devices I mentioned

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/21/2013 01:55 PM, Mark Morgan Lloyd wrote: Yes, but as I said earlier in the thread ARM is the only platform that I've not got libgdb compiled for, and Jonas (I think) said it wasn't surprising in view of the number of ARM variants. I learned that Lazarus is supposed to run on a Raspbe

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: Seemingly everybody forgot about fp, which AFAIK has a very decent TUI (Text based user interface) and can work locally with gdb on a system that does not offer a GUI. I never used it, but years ago I use Borland/Turbo Pascal for rather simple stuff, and colleagues of

Re: [fpc-devel] "embedded" again

2013-01-21 Thread Michael Schnell
On 01/17/2013 10:01 AM, Michael Schnell wrote: a) cross compile using FPC and just run it (debugging via code instrumentation) b) install fpc on the Target and compile and just run it (debugging via code instrumentation) c) cross compile and remote debug using Lazarus d) install Lazarus

Re: [fpc-devel] Install fpc and Friends on a non-Debian ARM-Linux Device

2013-01-21 Thread Mark Morgan Lloyd
Michael Schnell wrote: Hi experts. (Beware: long explanation trying to help those ho try something similar. A question is asked at the end.) I am trying to install, test and run fpc programs on a QNAP 219 P II NAS. Same is a headless ARM-Linux device. With 512 MB RAM and It has enough resourc

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Anton Kavalenka
On 21.01.2013 15:02, Michael Schnell wrote: On 01/21/2013 12:48 PM, Anton Kavalenka wrote: Dependencies have to be resolved by package manager. Just find the equivalent packages. No chance: No such packages on Optware: http://www.dd-wrt.com/wiki/index.php/Quick_list_of_Optware_packages So cop

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Michael Schnell
On 01/21/2013 12:48 PM, Anton Kavalenka wrote: Dependencies have to be resolved by package manager. Just find the equivalent packages. No chance: No such packages on Optware: http://www.dd-wrt.com/wiki/index.php/Quick_list_of_Optware_packages So copy there lazarus and try to build it. At least

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Anton Kavalenka
On 21.01.2013 13:42, Michael Schnell wrote: On 01/21/2013 10:12 AM, Anton Kavalenka wrote: X-libs and gtk2 libs installed. This is what I did suppose. This is the list of debian packages typical Lazarus-built Linux GUI application depends. It is useful in sense - what to download from publ

Re: [fpc-devel] Install fpc and Friends on a non-Debian ARM-Linux Device

2013-01-21 Thread Thomas Schatzl
Hi, On Mon, 2013-01-21 at 11:26 +0100, Michael Schnell wrote: > Hi experts. (Beware: long explanation trying to help those ho try > something similar. A question is asked at the end.) > > I am trying to install, test and run fpc programs on a QNAP 219 P II NAS. > [...] > But first I tried to ins

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Michael Schnell
On 01/21/2013 10:12 AM, Anton Kavalenka wrote: X-libs and gtk2 libs installed. This is what I did suppose. This is the list of debian packages typical Lazarus-built Linux GUI application depends. It is useful in sense - what to download from public repositories. The name of packages contai

[fpc-devel] Install fpc and Friends on a non-Debian ARM-Linux Device

2013-01-21 Thread Michael Schnell
Hi experts. (Beware: long explanation trying to help those ho try something similar. A question is asked at the end.) I am trying to install, test and run fpc programs on a QNAP 219 P II NAS. Same is a headless ARM-Linux device. With 512 MB RAM and It has enough resources to even run Lazarus i

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Anton Kavalenka
On 21.01.2013 11:22, Michael Schnell wrote: On 01/18/2013 05:33 PM, Anton Kavalenka wrote: On 18.01.2013 19:25, Michael Schnell wrote: Remote X is done using X-forwarding ssh -X your_name@your_raspberry I understand that this is the command to be issued at the PC to contact the remote devi

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Michael Schnell
On 01/18/2013 05:25 PM, Michael Schnell wrote: . So for me a viable task would be to find the apt-get packages necessary to run Lazarus, download them to a PC, extract the necessary files and scripts and try to install them on the QNAP NAS. This in fact turned out to be rather easy. I am g

Re: [fpc-devel] Install FPC and GUI on a headless non debian ARM device ["embedded" again]

2013-01-21 Thread Michael Schnell
On 01/18/2013 05:33 PM, Anton Kavalenka wrote: On 18.01.2013 19:25, Michael Schnell wrote: Remote X is done using X-forwarding ssh -X your_name@your_raspberry I understand that this is the command to be issued at the PC to contact the remote device. My question is how to install something