Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Michael Van Canneyt
On Thu, 20 Aug 2015, Torsten Bonde Christiansen wrote: On 2015-08-20 08:06, Sven Barth wrote: Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" >: > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this op

Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Torsten Bonde Christiansen
On 2015-08-20 08:06, Sven Barth wrote: Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" mailto:fluisgira...@gmail.com>>: > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. And /that/ i

Re: [fpc-pascal] IS operator and library created objects

2015-08-19 Thread Sven Barth
Am 20.08.2015 03:42 schrieb "Fabio Luis Girardi" : > Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. And /that/ is one of the reasons why dynamic packages were invented... > > Everyone know

Re: [fpc-pascal] Windows IOT Core

2015-08-19 Thread Sven Barth
Am 20.08.2015 01:09 schrieb "Chris Moody" : > > > On 08/19/2015 02:14 AM, Michael Schnell wrote: >> >> Did anybody try to compile fpc programs for this variant of Windows 10. >> >> It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the "MinnowBoard Max") . >> >> Seemi

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Martin Schreiber
On Thursday 20 August 2015 00:56:46 Chris Moody wrote: > > How do I verify what mine uses? I've found the directions at > http://michellcomputing.co.uk/blog/2014/05/freepascal-2-7-1-on-raspberry-pi >/ can't seem to be followed as Thaddy seems to not renewed his domain name. > > This makes it unable

[fpc-pascal] IS operator and library created objects

2015-08-19 Thread Fabio Luis Girardi
Hi! Currently, I'm doing a small program that uses libraries, objects and the operator IS, that is know that this operator fails because of duplication of VMT. Everyone know some alternative (or more elegant) method to test if a object created on a library is a class descendant without use object

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Chris Moody
On 08/19/2015 03:56 PM, Chris Moody wrote: On 08/19/2015 03:41 PM, Graeme Geldenhuys wrote: On 2015-08-19 21:12, Jonas Maebe wrote: while the Raspberry Pi uses ARM EABIHF. Doesn't that apply only for the newer Raspberry Pi 2 models? I have Raspberry Pi 1 model B revision 2, and I believe m

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 23:53, Jonas Maebe wrote: > > No: > https://www.raspbian.org/RaspbianFAQ#What_compilation_options_should_be_set_Raspbian_code.3F Ah, many thanks for clarifying that. Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] Windows IOT Core

2015-08-19 Thread Chris Moody
On 08/19/2015 02:14 AM, Michael Schnell wrote: Did anybody try to compile fpc programs for this variant of Windows 10. It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the "MinnowBoard Max") . Seemingly M$ suggest to do non-native software (Java or C#) (-> h

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Chris Moody
On 08/19/2015 03:41 PM, Graeme Geldenhuys wrote: On 2015-08-19 21:12, Jonas Maebe wrote: while the Raspberry Pi uses ARM EABIHF. Doesn't that apply only for the newer Raspberry Pi 2 models? I have Raspberry Pi 1 model B revision 2, and I believe mine uses ARM EABI. Regards, - Graeme - Ho

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Jonas Maebe
Graeme Geldenhuys wrote: On 2015-08-19 21:12, Jonas Maebe wrote: while the Raspberry Pi uses ARM EABIHF. Doesn't that apply only for the newer Raspberry Pi 2 models? I have Raspberry Pi 1 model B revision 2, and I believe mine uses ARM EABI. No: https://www.raspbian.org/RaspbianFAQ#What_com

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 21:12, Jonas Maebe wrote: > while the Raspberry Pi uses ARM EABIHF. Doesn't that apply only for the newer Raspberry Pi 2 models? I have Raspberry Pi 1 model B revision 2, and I believe mine uses ARM EABI. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using

Re: [fpc-pascal] fpc-pascal Digest, Vol 134, Issue 33

2015-08-19 Thread Schindler Karl-Michael
Am 19.08.2015 um 22:02 schrieb Jonas Maebe: > > On 19/08/15 13:41, Torsten Bonde Christiansen wrote: >> I'm trying to build the compiler (svn checkout) from scratch using the >> bootstrapper binary "ppcuniversal" >> on a MAC running Mavericks (OS 10.9.x) > > The only supported/hassle-free way to

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 19 Aug 2015, Chris Moody wrote: > It seems I have both already: > > Any other ideas? Yes. Sadly, I was too quick to reply. See what Jonas wrote in his mail. Charlie ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.f

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Chris Moody
On 08/19/2015 01:12 PM, Jonas Maebe wrote: On 19/08/15 22:02, Chris Moody wrote: So I reset up my Pi and I was able to get the current version of FPC to get as far as the linking stage, at which point it shows this: /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Chris Moody
On 08/19/2015 01:08 PM, Karoly Balogh (Charlie/SGR) wrote: Hi, On Wed, 19 Aug 2015, Chris Moody wrote: I'm not sure how to fix this. If anyone can assist, it would be greatly appreciated. You link against the libc (because of the nature of the source you're compiling) but C development file

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Jonas Maebe
On 19/08/15 22:02, Chris Moody wrote: > So I reset up my Pi and I was able to get the current version of FPC to > get as far as the linking stage, at which point it shows this: > > /usr/bin/ld: warning: link.res contains output sections; did you forget -T? > /home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/

Re: [fpc-pascal] Issue with Linking

2015-08-19 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 19 Aug 2015, Chris Moody wrote: > I'm not sure how to fix this. If anyone can assist, it would be greatly > appreciated. You link against the libc (because of the nature of the source you're compiling) but C development files are not installed on your system. You should probably: ap

[fpc-pascal] Issue with Linking

2015-08-19 Thread Chris Moody
Hi all, So I reset up my Pi and I was able to get the current version of FPC to get as far as the linking stage, at which point it shows this: /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function

Re: [fpc-pascal] Different idea

2015-08-19 Thread Michael Van Canneyt
On Wed, 19 Aug 2015, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Wed, 19 Aug 2015, Mark Morgan Lloyd wrote: Michael Schnell wrote: On 08/18/2015 10:03 PM, Chris Moody wrote: Having issues getting cross compiling to work, so here's another idea: What files would I need to move

Re: [fpc-pascal] Different idea

2015-08-19 Thread Michael Van Canneyt
On Wed, 19 Aug 2015, Graeme Geldenhuys wrote: On 2015-08-19 09:52, Michael Van Canneyt wrote: I use lazbuild succesfully on a machine without any X library installed. Does that still use the LCL-NoGUI "kludge" widgetset? For is lazbuild now a truly console-only application. Still LCL-Nogu

Re: [fpc-pascal] Bootstrapping on Mac

2015-08-19 Thread Torsten Bonde Christiansen
On 2015-08-19 13:59, Jonas Maebe wrote: On 19/08/15 13:41, Torsten Bonde Christiansen wrote: I'm trying to build the compiler (svn checkout) from scratch using the bootstrapper binary "ppcuniversal" on a MAC running Mavericks (OS 10.9.x) The only supported/hassle-free way to bootstrap FPC (on a

Re: [fpc-pascal] Bootstrapping on Mac

2015-08-19 Thread Jonas Maebe
On 19/08/15 13:41, Torsten Bonde Christiansen wrote: > I'm trying to build the compiler (svn checkout) from scratch using the > bootstrapper binary "ppcuniversal" > on a MAC running Mavericks (OS 10.9.x) The only supported/hassle-free way to bootstrap FPC (on any platform) is by starting from a co

[fpc-pascal] Bootstrapping on Mac

2015-08-19 Thread Torsten Bonde Christiansen
Hi List. I'm trying to build the compiler (svn checkout) from scratch using the bootstrapper binary "ppcuniversal" on a MAC running Mavericks (OS 10.9.x) I start the buildprocess with the following line: make all PP=~/Downloads/ppcuniversal CPU_TARGET=i386 OS_TARGET=darwin OPT="-gl -gw -godwa

Re: [fpc-pascal] Different idea

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 09:52, Michael Van Canneyt wrote: > I use lazbuild succesfully on a machine without any X library installed. Does that still use the LCL-NoGUI "kludge" widgetset? For is lazbuild now a truly console-only application. The the big question is Why are you not using fpmake on your b

Re: [fpc-pascal] Different idea

2015-08-19 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Wed, 19 Aug 2015, Mark Morgan Lloyd wrote: Michael Schnell wrote: On 08/18/2015 10:03 PM, Chris Moody wrote: Having issues getting cross compiling to work, so here's another idea: What files would I need to move from Lazarus on my computer to the Pi, so it will

Re: [fpc-pascal] Different idea

2015-08-19 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/19/2015 10:11 AM, Mark Morgan Lloyd wrote: A (physically) headless system can run Lazarus etc. without any problems, provided that you can login using X11 (XDMCP), VNC, or SSH. Additionally you need a GUI Libray (QT or whatever) I do know that, but running an X se

Re: [fpc-pascal] Different idea

2015-08-19 Thread Michael Schnell
On 08/19/2015 10:11 AM, Mark Morgan Lloyd wrote: A (physically) headless system can run Lazarus etc. without any problems, provided that you can login using X11 (XDMCP), VNC, or SSH. Additionally you need a GUI Libray (QT or whatever) I do know that, but running an X server and a GUI Libray ta

[fpc-pascal] Windows IOT Core

2015-08-19 Thread Michael Schnell
Did anybody try to compile fpc programs for this variant of Windows 10. It is available for ARM (eg it's said to run on the RasPI) and on Intel (e.g. for the "MinnowBoard Max") . Seemingly M$ suggest to do non-native software (Java or C#) (-> https://dev.windows.com/en-us) But IO don't see wh

Re: [fpc-pascal] Different idea

2015-08-19 Thread Michael Van Canneyt
On Wed, 19 Aug 2015, Mark Morgan Lloyd wrote: Michael Schnell wrote: On 08/18/2015 10:03 PM, Chris Moody wrote: Having issues getting cross compiling to work, so here's another idea: What files would I need to move from Lazarus on my computer to the Pi, so it will be able to find all of th

Re: [fpc-pascal] Cross compile from x86 to Pi

2015-08-19 Thread Jonas Maebe
Jonas Maebe wrote on Wed, 19 Aug 2015: Chris Moody wrote on Wed, 19 Aug 2015: On 08/19/2015 12:57 AM, Jonas Maebe wrote: /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as --version Somehow this was for x86 linux, not sure how that happened. Will have to look again. One more thing:

Re: [fpc-pascal] Different idea

2015-08-19 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/18/2015 10:03 PM, Chris Moody wrote: Having issues getting cross compiling to work, so here's another idea: What files would I need to move from Lazarus on my computer to the Pi, so it will be able to find all of the libraries? Or perhaps even better, how can I ge

Re: [fpc-pascal] Different idea

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 09:07, Graeme Geldenhuys wrote: > The Free Pascal project releases very good > text based installers for all supported platforms. Those work > brilliantly, This took me 10 minutes to get a working FPC installed on my RPi and compile fpGUI and some of its demos. Regards, - Graeme -

Re: [fpc-pascal] Cross compile from x86 to Pi

2015-08-19 Thread Jonas Maebe
Chris Moody wrote on Wed, 19 Aug 2015: On 08/19/2015 12:57 AM, Jonas Maebe wrote: /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as --version Somehow this was for x86 linux, not sure how that happened. Will have to look again. One more thing: as has been mentioned before, FPC 2.6.4 c

Re: [fpc-pascal] Different idea

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 08:55, Chris Moody wrote: > I'll have > to look to see where all of the compiled units are stored on the Pi, as > they are not same location as they are on my desktop. Developers should learn not to use package managers for everything - especially development tools. The Free Pascal

Re: [fpc-pascal] Cross compile from x86 to Pi

2015-08-19 Thread Chris Moody
On 08/19/2015 12:57 AM, Jonas Maebe wrote: /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as --version Somehow this was for x86 linux, not sure how that happened. Will have to look again. Chris ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] Cross compile from x86 to Pi

2015-08-19 Thread Jonas Maebe
Chris Moody wrote on Tue, 18 Aug 2015: So I tried to compile a special version of FPC for arm, I installed: binutils-2.25 And I got as far as this: /home/chris/Documents/fp/fpcbuild-2.6.4/binutils/bin/as -o /home/chris/Documents/fp/fpcbuild-2.6.4/fpcsrc/rtl/units/arm-linux/prt0.o arm/p

Re: [fpc-pascal] Different idea

2015-08-19 Thread Chris Moody
On 08/19/2015 12:38 AM, Graeme Geldenhuys wrote: On 2015-08-19 05:11, Chris Moody wrote: I tried to compile Lazarus on the Pi and it got to this point: Personally, I think Lazarus is a bit "heavy" for the RPi and would opt for something lighter and faster. The RPi is not a very fast system an

Re: [fpc-pascal] Different idea

2015-08-19 Thread Michael Schnell
On 08/18/2015 10:03 PM, Chris Moody wrote: Having issues getting cross compiling to work, so here's another idea: What files would I need to move from Lazarus on my computer to the Pi, so it will be able to find all of the libraries? Or perhaps even better, how can I get the command Lazarus se

Re: [fpc-pascal] Different idea

2015-08-19 Thread Graeme Geldenhuys
On 2015-08-19 05:11, Chris Moody wrote: > I tried to compile Lazarus on the Pi and > it got to this point: Personally, I think Lazarus is a bit "heavy" for the RPi and would opt for something lighter and faster. The RPi is not a very fast system and will little memory. Lazarus likes both CPU and