Re: [fpc-pascal] Fpc for ARM HF

2019-06-28 Thread Jonas Maebe
On 25/06/2019 03:03, Fabio Luis Girardi wrote: > Someone knows why, programs > compiled to ARM HF target have to be linked with libc to be displayed by > readelf -a as a ARM HF binary? > > If the program isn't linked with libc, it's displayed as ARM soft float > by readelf. Someone have a

Re: [fpc-pascal] Fpc for ARM HF

2019-06-26 Thread Fabio Luis Girardi
Nobody? Em Seg, 24 de jun de 2019 22:03, Fabio Luis Girardi escreveu: > Hi all! > > Someone knows why, programs > compiled to ARM HF target have to be linked with libc to be displayed by > readelf -a as a ARM HF binary? > > If the program isn't linked with libc, it's displayed as ARM soft float

Re: [fpc-pascal] fpc for ARM on STM32F103

2017-01-22 Thread Marc Santhoff
On So, 2017-01-22 at 22:05 +0100, Florian Klämpfl wrote: > Am 22.01.2017 um 21:43 schrieb Marc Santhoff: > > On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote: > >> Am 22.01.2017 um 19:33 schrieb Marc Santhoff: > >>> Hi, > >>> > >>> I'd like to know if the floating point hardware on

Re: [fpc-pascal] fpc for ARM on STM32F103

2017-01-22 Thread Florian Klämpfl
Am 22.01.2017 um 21:43 schrieb Marc Santhoff: > On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote: >> Am 22.01.2017 um 19:33 schrieb Marc Santhoff: >>> Hi, >>> >>> I'd like to know if the floating point hardware on STM32F103 >> >> What floating point hardware does it have? According to a

Re: [fpc-pascal] fpc for ARM on STM32F103

2017-01-22 Thread Marc Santhoff
On So, 2017-01-22 at 21:20 +0100, Florian Klämpfl wrote: > Am 22.01.2017 um 19:33 schrieb Marc Santhoff: > > Hi, > > > > I'd like to know if the floating point hardware on STM32F103 > > What floating point hardware does it have? According to a quick search, it is > a Cortex-M3 which has > no

Re: [fpc-pascal] fpc for ARM on STM32F103

2017-01-22 Thread Florian Klämpfl
Am 22.01.2017 um 19:33 schrieb Marc Santhoff: > Hi, > > I'd like to know if the floating point hardware on STM32F103 What floating point hardware does it have? According to a quick search, it is a Cortex-M3 which has no hardware floating point support? > is > supported by the fpc cross

Re: [fpc-pascal] FPC for ARM

2011-12-23 Thread Dariusz Mazur
Is there an embedded web-server that would run on the ARM machine? I use this one from Synapse (work on openWRT and Android) -- Darek ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FPC for ARM

2011-12-22 Thread Juha Manninen
2011/12/19 Marco van de Voort mar...@stack.nl FreeBSD and Linux x86 and x86_64 have internal assembler, but not linker. Though the FreeBSD/x86_64 internal assembler is only enable in trunk afaik. Be careful with binutils on ARM though, there are multiple ABIs, and the installed ones must

Re: [fpc-pascal] FPC for ARM

2011-12-22 Thread Marco van de Voort
In our previous episode, Juha Manninen said: I ran apt-get install binutils in the already installed Ubuntu and it worked. I have understood ARM also supports many instruction sets like Thumb and Thumb-2. I have no idea which one is running now, but it is not important because it works.

Re: [fpc-pascal] FPC for ARM

2011-12-19 Thread Juha Manninen
2011/11/28 Henry Vermaak henry.verm...@gmail.com There is an arm release for 2.6.0rc1, but it was built using old binutils (last time I checked, at least): ftp://freepascal.stack.nl/pub/**fpc/beta/2.6.0-rc1/arm-linux/ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/arm-linux/ I finally got

Re: [fpc-pascal] FPC for ARM

2011-12-19 Thread Henry Vermaak
On 19/12/11 11:16, Juha Manninen wrote: The compiler itself works but assembler is missing. See : --- root@ubuntu:/usr/share/doc/fpc-2.6.0/examples/text# fpc hello.pp Free Pascal Compiler version 2.6.0rc1 [2011/10/20] for arm Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS:

Re: [fpc-pascal] FPC for ARM

2011-12-19 Thread Thomas Schatzl
Hi, On Mon, 2011-12-19 at 13:16 +0200, Juha Manninen wrote: 2011/11/28 Henry Vermaak henry.verm...@gmail.com There is an arm release for 2.6.0rc1, but it was built using old binutils (last time I checked, at least):

Re: [fpc-pascal] FPC for ARM

2011-12-19 Thread Marco van de Voort
In our previous episode, Thomas Schatzl said: Does it mean an assembler is always needed with ARM? In my understanding x86 based PCs don't need a separate assembler with FPC. apt-get install as didn't install anything. Afaik only the Windows platforms have an internal assembler and

Re: [fpc-pascal] FPC for ARM

2011-11-29 Thread Juha Manninen
2011/11/29 Thomas Schatzl tom_at_w...@gmx.at There is an arm release for 2.6.0rc1, but it was built using old binutils (last time I checked, at least): ftp://freepascal.stack.nl/pub/**fpc/beta/2.6.0-rc1/arm-linux/ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/arm-linux/ What OS/version

Re: [fpc-pascal] FPC for ARM

2011-11-29 Thread Marco van de Voort
In our previous episode, Thomas Schatzl said: What OS/version are you using? Maybe some OS setup issue? On an HP Touchpad and a Sheevaplug-like system, which are both eabi5, the bootstrap compiler and fpc produced executables work just fine. (Sheeva's are shipped with a default eabi4,

Re: [fpc-pascal] FPC for ARM

2011-11-29 Thread Marco van de Voort
In our previous episode, Felipe Monteiro de Carvalho said: juha.mannine...@gmail.com wrote: I don't even know what means?eabi4 and?eabi5. I'm not sure what it means exactly either, but for example Android no longer supports eabi 4, so it looks obsolete. I use eabi 5 for my Android

Re: [fpc-pascal] FPC for ARM

2011-11-28 Thread Henry Vermaak
On 28/11/11 13:41, Juha Manninen wrote: Hi Is FPC 2.2.2 really the latest native release for ARM processors? I guess it can build the more recent versions. (?) There is an arm release for 2.6.0rc1, but it was built using old binutils (last time I checked, at least):

Re: [fpc-pascal] FPC for ARM

2011-11-28 Thread Thomas Schatzl
Hi, Am 28.11.2011 15:18, schrieb Henry Vermaak: On 28/11/11 13:41, Juha Manninen wrote: Hi Is FPC 2.2.2 really the latest native release for ARM processors? I guess it can build the more recent versions. (?) There is an arm release for 2.6.0rc1, but it was built using old binutils (last

Re: [fpc-pascal] FPC for ARM-7

2011-07-23 Thread Jeppe Grsædal Johansen
On 23-07-2011 20:34, Andreas Berger wrote: I am hoping to use FPC for ARM-7, compiling and debugging on a Windows machine. At the moment I am using Keil C + ULink2. Is it possible to use FPC from Windows and debug via the ULink2? I'm sure it should be possible. FPC can generate code for ARM7,

Re: [fpc-pascal] fpc for arm linux

2007-04-25 Thread Daniël Mantione
Op Wed, 25 Apr 2007, schreef Jose Pascual: Hi, I have found libc.ppu in i386 linux version but arm linux version? Where can I find it? or how can I generate it (for arm linux)? Due to portability issues, libc is i386 only. Daniël___ fpc-pascal

Re: [fpc-pascal] fpc for arm linux

2007-04-25 Thread Jonas Maebe
On 25 apr 2007, at 14:07, Jose Pascual wrote: I have found libc.ppu in i386 linux version but arm linux version? Correct. Where can I find it? Nowhere. or how can I generate it (for arm linux)? You can't. It is full of i386-specific code, and is only included for Kylix

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-28 Thread Den Jean
On Wednesday 24 November 2004 10:47 am, Florian Klaempfl wrote: I know, but I've to get my arm working first :( Another incentive to get your zaurus up and running again. The demo program now works on the Zaurus :-) The updated now uses LargeInt instead of TMethod. Some temporary trigonometric

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-28 Thread Den Jean
On Sunday 28 November 2004 02:56 pm, Den Jean wrote: In the mean time enjoy these animated screenshots of the demo program running on the Zaurus. http://users.pandora.be/Jan.Van.hijfte/qtforfpc/ScreenShot03.html I updated the animation for the non Konqueror browsers. Now those MSIE

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-24 Thread Florian Klaempfl
Den Jean wrote: On Tuesday 23 November 2004 11:13 am, Florian Klaempfl wrote: * dynamic arrays : TIntArray = array of integer. On Intel it works fine but on arm not. Bindhelp.pas provides TIntArray pascal helper functions to the binding that is written in C++ eg. this C-code copies

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-23 Thread Florian Klaempfl
Den Jean wrote: On Sunday 21 November 2004 11:41 pm, Den Jean wrote: I also debugged it on the zaurus with gdb. I debugged somewhat more and this learned me that the record Method is passed by reference instead of by value as it should. With a little hack I managed to force a call by value.

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-23 Thread Den Jean
On Tuesday 23 November 2004 11:13 am, Florian Klaempfl wrote: This is indeed an improper implemntation of the arm abi, I'll fix it asap. Thanks a lot. In the mean time I changed the binding so that it uses LargeInt instead of TMethod. So the big demo program almosts works :-)

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-22 Thread Den Jean
On Sunday 21 November 2004 11:41 pm, Den Jean wrote: I also debugged it on the zaurus with gdb. I debugged somewhat more and this learned me that the record Method is passed by reference instead of by value as it should. With a little hack I managed to force a call by value. Library

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-21 Thread Den Jean
On Saturday 20 November 2004 11:53 pm, Den Jean wrote: it crashes when compiled for ARM I also debugged it on the zaurus with gdb. On clicking the button that is attached to AppQuit I get: Program received signal SIGILL, Illegal instruction. $000a0e84 in U_SYSUTILS_UPPERCASETABLE ()

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-20 Thread Den Jean
On Wednesday 10 November 2004 02:45 am, Florian Klaempfl wrote: Before I can test it, I've to reinstall my Zaurus, when updating to 3.5.1, the installation got broken :/ I have prepared something to test. I created a small C-program as a reference (that works) and then a FPC program that has

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-09 Thread Florian Klaempfl
Den Jean wrote: On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote: Before I can test it, I've to reinstall my Zaurus, when updating to 3.5.1, the installation got broken :/ It is time to reinstall your Zaurus. Hopefully, I'll get the new (and bigger ;)) SD card today so I can

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-08 Thread Den Jean
On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote: Before I can test it, I've to reinstall my Zaurus, when updating to 3.5.1, the installation got broken :/ It is time to reinstall your Zaurus. I just managed to create a small Qt program with FPC on the Zaurus :-) Zaurus

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-04 Thread Den Jean
Hi, On Sunday 31 October 2004 06:14 pm, Marco van de Voort wrote: Try to add -Xd Thanks, it does what I need. Did not find this in the manual nor in fpc -h. * uses Dl; * I managed to compile my qt binding for arm (the library is C/C++ code) but to test fpc's

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-31 Thread Den Jean
Hi, I am trying to cross-compile a program a bit more complicated than Hello World and I have the following problem. ppcarm uses the wrong libraries because it uses some default lib paths first before it uses the library paths added with -Fl eg: ppcarm -Sd -XParm-linux- -k'-z nodefaultlib'

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-31 Thread Marco van de Voort
I am trying to cross-compile a program a bit more complicated than Hello World and I have the following problem. ppcarm uses the wrong libraries because it uses some default lib paths first before it uses the library paths added with -Fl eg: ppcarm -Sd -XParm-linux- -k'-z nodefaultlib'

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-25 Thread Florian Klaempfl
Den Jean wrote: On Friday 22 October 2004 04:22 pm, Florian Klaempfl wrote: The official way is to do use -XP: ppcarm -XParm-linux- hello and install the arm-linux-as and arm-linux-ld into e.g. /usr/local/bin Nice. Webpage has been updated. What about putting these information into the fpc wiki?

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-22 Thread Florian Klaempfl
Den Jean wrote: On Thursday 21 October 2004 06:02 pm, Florian Klaempfl wrote: * Does anyone have a working ARM snapshot ? ftp://ftp.freepascal.org/fpc/snapshot/v19/linux-arm/fpc-1.9.3.arm.tar Hi Thanks. It works fine with the snapshot you pointed out. For a report see :

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-21 Thread Florian Klaempfl
Den Jean wrote: Hi, Cross-compile for ARM: == I'd like to develop an application on Zaurus (arm) with FPC, but I do not manage to create a cross-compile setup. Qt/Embedded binding for FPC: == I already created a binding for FPC to Qt/Embedded that works with libqte