Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-11-30 Thread Mark Morgan Lloyd
Martin Schreiber wrote: In my Raspbian RPi 1 model B rev2 I installed FPC 2.6.0 by apt-get install fpc Then I extracted fpc_eabihf_3_0_1.tar.gz to /home/pi/fpc. cd to the svn fixes_3_0 checkout, " make PP=/home/pi/fpc/3_0/eabihf/lib/fpc/3.0.1/ppcarm OVERRIDEVERSIONCHECK=1 all " Thought a st

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-07 Thread Joost van der Sluis
On 09/07/2015 08:24 PM, Mark Morgan Lloyd wrote: Below on Raspbian 2015-05-05: .. make[3]: Leaving directory '/usr/local/src/fpc/fixes_3_0/packages/fpmkunit' /usr/local/src/fpc/fixes_3_0/compiler/ppcarm fpmake.pp -Fu/usr/local/src/fpc/fixes_3_0/packages/fpmkunit/units_bs/arm-linux -Fu/usr/local

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-07 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Martin Schreiber wrote: On Saturday 05 September 2015 19:55:38 Joost van der Sluis wrote: Martin Schreiber wrote: Starting over, I get to Free Pascal Compiler version 3.0.1 [2015/08/29] for arm Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Linux fo

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-07 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Saturday 05 September 2015 19:55:38 Joost van der Sluis wrote: Martin Schreiber wrote: Starting over, I get to Free Pascal Compiler version 3.0.1 [2015/08/29] for arm Copyright (c) 1993-2015 by Florian Klaempfl and others Target OS: Linux for ARMHF Compiling fpmake.p

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-07 Thread Martin Schreiber
On Saturday 05 September 2015 19:55:38 Joost van der Sluis wrote: > > Martin Schreiber wrote: > > > > Starting over, I get to > > > > Free Pascal Compiler version 3.0.1 [2015/08/29] for arm > > Copyright (c) 1993-2015 by Florian Klaempfl and others > > Target OS: Linux for ARMHF > > Compiling fpmak

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-05 Thread Joost van der Sluis
> Martin Schreiber wrote: > > Starting over, I get to > > Free Pascal Compiler version 3.0.1 [2015/08/29] for arm > Copyright (c) 1993-2015 by Florian Klaempfl and others > Target OS: Linux for ARMHF > Compiling fpmake.pp Can you send the lines before these lines? I'm interested in how the fpma

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-05 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: The good news is that after successful tests on x86 and x86-64 Linux (Debian Jessie), yesterday evening I was able to compile and run Lazarus 1.4 using FPC 3.0.1 on a SPARC running OpenSXCE (very approximately, Solaris 11). Also OK on PPC Mac running Linux. The bad

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-09-02 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Anyway, even with that older Rasbian release FPC 3.0.1 is now making a valiant attempt to compile Lazarus. Whichever way that goes I'll discuss it in the Lazarus mailing list. Just in case this is something that anybody thinks is worth discussing: The good news is th

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Monday 31 August 2015 16:25:38 Mark Morgan Lloyd wrote: As I've said already- more than once- I wrote the previous mail "for the benefit of anybody getting here via Google" too. ;-) Sorry for annoying you. [GRIN] Nonono, I'm not annoyed. But particularly taking i

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Martin Schreiber
On Monday 31 August 2015 16:25:38 Mark Morgan Lloyd wrote: > > As I've said already- more than once- I wrote the previous mail "for the benefit of anybody getting here via Google" too. ;-) Sorry for annoying you. Martin ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Monday 31 August 2015 13:00:59 Mark Morgan Lloyd wrote: Thanks Jonas, that fixes it. To wrap this up and for the benefit of anybody getting here via Google: this is for a Raspeberry Pi with 2014-era Raspbian. Binaries from: http://sourceforge.net/projects/mseide-mseg

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Martin Schreiber
On Monday 31 August 2015 13:00:59 Mark Morgan Lloyd wrote: > Thanks Jonas, that fixes it. To wrap this up and for the benefit of > anybody getting here via Google: this is for a Raspeberry Pi with > 2014-era Raspbian. > > Binaries from: http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ >

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Jonas Maebe wrote: Mark Morgan Lloyd wrote: I've already got both in the fpc.cfg file: # path to the gcclib -Fl/usr/lib/gcc/arm-linux-gnueabi/4.6.3 -Fl/usr/lib/arm-linux-gnueabi "make all" in the top level directory ignores your fpc.cfg (by design). [Slaps forehead

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Mark Morgan Lloyd wrote: I've already got both in the fpc.cfg file: # path to the gcclib -Fl/usr/lib/gcc/arm-linux-gnueabi/4.6.3 -Fl/usr/lib/arm-linux-gnueabi "make all" in the top level directory ignores your fpc.cfg (by design). [Slaps forehead] I'll be back. -- Mark M

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Jonas Maebe
Mark Morgan Lloyd wrote: I've already got both in the fpc.cfg file: # path to the gcclib -Fl/usr/lib/gcc/arm-linux-gnueabi/4.6.3 -Fl/usr/lib/arm-linux-gnueabi "make all" in the top level directory ignores your fpc.cfg (by design). Jonas ___ fpc-pas

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Mark Morgan Lloyd wrote: /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi': (.text+0x88): undefined reference to `_fini' /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi': (.text+0x90): undefined referen

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-31 Thread Jonas Maebe
Mark Morgan Lloyd wrote: /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi': (.text+0x88): undefined reference to `_fini' /usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi': (.text+0x90): undefined reference to `_init' chmcmd

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 30/08/15 17:36, Mark Morgan Lloyd wrote: [Requesting program interpreter: /lib/ld-linux.so.3] .. $ ls -l /lib/ld-linux.so.3 lrwxrwxrwx 1 root root 28 Oct 16 2014 /lib/ld-linux.so.3 -> arm-linux-gnueabi/ld-2.13.so $ ls -l /lib/arm-linux-gnueabi/ld-2.13.so -rwxr-xr-x

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Jonas Maebe
On 30/08/15 17:36, Mark Morgan Lloyd wrote: > [Requesting program interpreter: /lib/ld-linux.so.3] > .. > > $ ls -l /lib/ld-linux.so.3 > lrwxrwxrwx 1 root root 28 Oct 16 2014 /lib/ld-linux.so.3 -> > arm-linux-gnueabi/ld-2.13.so > > $ ls -l /lib/arm-linux-gnueabi/ld-2.13.so > -rwxr-xr-x 1 r

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 30/08/15 15:35, Mark Morgan Lloyd wrote: .. [Requesting program interpreter: /lib/ld-linux-armhf.so.3] .. That file's missing, something's obviously badly wrong with the Rpi filesystem etc.: I strongly suspect that somebody did an incautious update/upgrade/dist-upgra

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Martin Schreiber
On Sunday 30 August 2015 14:11:17 John Lee wrote: > Not clear about rpi compilers for rc1. My testing on rpi 2 of Martin's > 3.0.0 of 18th Aug (similar to rc1?) suggests that compilation works ok, but > linking doesn't. > What means "but linking doesn't"? the "/usr/bin/ld: warning: link.res contai

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Jonas Maebe
On 30/08/15 15:35, Mark Morgan Lloyd wrote: > .. > [Requesting program interpreter: /lib/ld-linux-armhf.so.3] > .. > > That file's missing, something's obviously badly wrong with the Rpi > filesystem etc.: I strongly suspect that somebody did an incautious > update/upgrade/dist-upgrade. Wha

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 29/08/15 17:57, Mark Morgan Lloyd wrote: ./fpmake compile --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o -O2 -o -n -o -Fu/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux -o -V3.0.1 -o -O- -o -gl -o -Xs- -o -vt -o -darm -o -dRELEASE --compiler=/usr/local/src/fpc/fix

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Jonas Maebe
On 30/08/15 14:47, John Lee wrote: > Can you please tell me which packages are needed so linking works. Martin? What linker error did you get? You only posted "/usr/bin/ld: warning: link.res contains output sections; did you forget -T?", but as the message literally says that's a warning, not an

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread John Lee
Can you please tell me which packages are needed so linking works. Martin? Don't understand your point(s) - it is complicated by the problems of arm on 2.6.4 and the arm flavours, but you seem to be making it worse! We support fpc on various win (and linux) os for i386 & various versions, eg win x

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Jonas Maebe
On 29/08/15 17:57, Mark Morgan Lloyd wrote: > ./fpmake compile --localunitdir=.. --os=linux --cpu=arm -o -Ur -o -Xs -o > -O2 -o -n -o -Fu/usr/local/src/fpc/fixes_3_0/rtl/units/arm-linux -o > -V3.0.1 -o -O- -o -gl -o -Xs- -o -vt -o -darm -o -dRELEASE > --compiler=/usr/local/src/fpc/fixes_3_0/compile

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread Jonas Maebe
On 30/08/15 14:11, John Lee wrote: > Not clear about rpi compilers for rc1. My testing on rpi 2 of Martin's > 3.0.0 of 18th Aug (similar to rc1?) suggests that compilation works ok, > but linking doesn't. Maybe you don't have the correct extra packages installed. > So does this mean that 3.0.0 d

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-30 Thread John Lee
Not clear about rpi compilers for rc1. My testing on rpi 2 of Martin's 3.0.0 of 18th Aug (similar to rc1?) suggests that compilation works ok, but linking doesn't. So does this mean that 3.0.0 doesn't have a working fpc for rpi 2? What about rpi 1? I have both rpi 1 and 2 available, so let me kno

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 19:48, Florian Klaempfl wrote: > Nevertheless, it does not explain why the OPT=-dFPC_ARMHF is needed. It is not necessary, I had simply (wrongly) made that deduction from looking all over the compiler source code (except for in fpcdefs.inc) and checking where it would automatically set

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 20:50, John Lee wrote: > What is fix please? I noticed Jonas committed a link patch to svn today. > Does that fix it? No. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listi

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Martin Schreiber
On Saturday 29 August 2015 20:05:35 John Lee wrote: > > /usr/bin/ld: warning: link.res contains output sections; did you forget -T? This is normal. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/ma

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Florian Klaempfl
Am 27.08.2015 um 02:08 schrieb Ched: > Hello, > > I strongly discourage the use of {$optimization deadstore} which induced > strong numerical errors on our solar system calculations (i386 linux). > The other new ones >{$optimization deadvalues} >{$optimization orderfields} >{$optimizat

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Florian Klaempfl
Am 29.08.2015 um 14:54 schrieb Jonas Maebe: > On 29/08/15 14:49, Florian Klämpfl wrote: >> Am 29. August 2015 1:58:06 nachm. schrieb Jonas Maebe >> : >> >>> On 29/08/15 13:40, Florian Klämpfl wrote: Am 29. August 2015 12:00:26 nachm. schrieb Jonas Maebe : > > In any case: you shou

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Saturday 29 August 2015 15:38:35 Mark Morgan Lloyd wrote: Martin, what would be really useful is knowing /exactly/ what sources you used to build your binary at http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ " svn info Path: . Working Copy Root Path: /ho

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 17:30, John Lee wrote: > If I cd to eabihf/lib/fpc/3.0.1 there is ppcarm of 14th Aug there but > running ppcarm still gives 2.6.4! On Unix-like platforms, you have to use "./ppcarm" to execute the ppcarm binary in the current directory instead of the one in the PATH. The reason is tha

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread John Lee
Dohhh, still getting 2.6.4. Did you mean ppcarm? Downloaded fpc_eabihf_3_0_1.tar.gz, extracted If I cd to eabihf/lib/fpc/3.0.1 there is ppcarm of 14th Aug there but running ppcarm still gives 2.6.4! Or should I do exec ppcarm? John On 29 August 2015 at 12:52, Martin Schreiber

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 29/08/15 11:55, Martin Schreiber wrote: " make PP=/home/pi/fpc/3_0/eabihf/lib/fpc/3.0.1/ppcarm OVERRIDEVERSIONCHECK=1 all " in a fixes_3_0 checkout works for me. Note that Mark is building 3.0.0rc1, not fixes_3_0. Building an older revision with a compiler built from a

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 14:49, Florian Klämpfl wrote: > Am 29. August 2015 1:58:06 nachm. schrieb Jonas Maebe > : > >> On 29/08/15 13:40, Florian Klämpfl wrote: >>> Am 29. August 2015 12:00:26 nachm. schrieb Jonas Maebe >>> : In any case: you should have to pass OPT="-dFPC_ARMHF" to get an armhf >>>

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Florian Klämpfl
Am 29. August 2015 1:58:06 nachm. schrieb Jonas Maebe : > On 29/08/15 13:40, Florian Klämpfl wrote: >> Am 29. August 2015 12:00:26 nachm. schrieb Jonas Maebe >> : >>> >>> In any case: you should have to pass OPT="-dFPC_ARMHF" to get an armhf >>> compiler (even if you already start with an armhf co

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 13:40, Florian Klämpfl wrote: > Am 29. August 2015 12:00:26 nachm. schrieb Jonas Maebe > : >> >> In any case: you should have to pass OPT="-dFPC_ARMHF" to get an armhf >> compiler (even if you already start with an armhf compiler). > > This should not be necessary? I also used to thin

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Martin Schreiber
On Saturday 29 August 2015 13:32:57 John Lee wrote: > Just downloaded the non debug version onto my rpi 2. Extracted - 6 files in > /bin, including fpc but it is 2.6.4 not 3.0. Any ideas? Try to start " /eabihf/lib/fpc/3.0.1/ppcrossarm " directly. /bin/fpc probably picks the wrong compiler. Marti

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Florian Klämpfl
Am 29. August 2015 12:00:26 nachm. schrieb Jonas Maebe : > > In any case: you should have to pass OPT="-dFPC_ARMHF" to get an armhf > compiler (even if you already start with an armhf compiler). This should not be necessary? ___ fpc-pascal maillist -

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread John Lee
Just downloaded the non debug version onto my rpi 2. Extracted - 6 files in /bin, including fpc but it is 2.6.4 not 3.0. Any ideas? Is there a rc1 .gz anywhere? John On 29 August 2015 at 10:55, Martin Schreiber wrote: > On Friday 28 August 2015 10:30:24 Mark Morgan Lloyd wrote: > > Martin Schre

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Jonas Maebe
On 29/08/15 11:55, Martin Schreiber wrote: > " > make PP=/home/pi/fpc/3_0/eabihf/lib/fpc/3.0.1/ppcarm OVERRIDEVERSIONCHECK=1 > all > " > in a fixes_3_0 checkout works for me. Note that Mark is building 3.0.0rc1, not fixes_3_0. Building an older revision with a compiler built from a newer revision

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-29 Thread Martin Schreiber
On Friday 28 August 2015 10:30:24 Mark Morgan Lloyd wrote: > Martin Schreiber wrote: > > On Wednesday 26 August 2015 20:14:09 Mark Morgan Lloyd wrote: > >> Is there a native ARM version compatible with the Raspberry Pi? > > > > Here: > > http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ >

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-28 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Wednesday 26 August 2015 20:14:09 Mark Morgan Lloyd wrote: Is there a native ARM version compatible with the Raspberry Pi? Here: http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ Please run eabihf/lib/fpc/3.0.1/samplecfg in order to create a default confi

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-27 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Wednesday 26 August 2015 20:14:09 Mark Morgan Lloyd wrote: Is there a native ARM version compatible with the Raspberry Pi? Here: http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ Please run eabihf/lib/fpc/3.0.1/samplecfg in order to create a default confi

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-26 Thread Martin Schreiber
On Wednesday 26 August 2015 20:14:09 Mark Morgan Lloyd wrote: > > Is there a native ARM version compatible with the Raspberry Pi? Here: http://sourceforge.net/projects/mseide-msegui/files/fpcarm/ Please run eabihf/lib/fpc/3.0.1/samplecfg in order to create a default configuration file. Cross de

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-26 Thread Ched
Hello, I strongly discourage the use of {$optimization deadstore} which induced strong numerical errors on our solar system calculations (i386 linux). The other new ones {$optimization deadvalues} {$optimization orderfields} {$optimization fastmath} {$optimization constprop} seem to

Re: [fpc-pascal] FPC 3.0.0-rc1 release

2015-08-26 Thread Mark Morgan Lloyd
Joost van der Sluis wrote: Hello We have placed the first release candidate of the Free Pascal Compiler version 3.0.0 on our ftp servers. You can help improve the upcoming 3.0.0 release by downloading and testing this release. If you want you can report what you have done here: http://wiki.free