Re: [fpc-pascal] Wiki etc.- where?

2016-02-25 Thread Mark Morgan Lloyd
Jonas Maebe wrote: Mark Morgan Lloyd wrote on Thu, 25 Feb 2016: http://www.freepascal.org/ points to http://wiki.freepascal.org/ for the wiki, which is giving me a permanent 403 "Forbidden". Anybody know what's going on? Should be fixed now. You were caught by a rule I added f

[fpc-pascal] Wiki etc.- where?

2016-02-25 Thread Mark Morgan Lloyd
http://www.freepascal.org/ points to http://wiki.freepascal.org/ for the wiki, which is giving me a permanent 403 "Forbidden". Anybody know what's going on? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-24 Thread Mark Morgan Lloyd
h-statement. I really fully agree! Perhaps a hint when a single WITH is used and a warning if they're nested. After all, it /is/ a standard part of the language. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employe

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-23 Thread Mark Morgan Lloyd
with foo= bar do foo.someField := ... -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Bug in FPC 3.0.0 (was: Bug in FPC 3.0.0?)

2016-02-23 Thread Mark Morgan Lloyd
that FPC is a bit better than most language implementations at catching things like that. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Happy tickets benchmark

2016-02-16 Thread Mark Morgan Lloyd
the left-hand sum is even or odd, so a trivial optimisation would be only looking at half of the possible values of the final (right-hand) digit. At which point, pointing out that FPC doesn't have a STEP or BY clause in the FOR statement would be far more useful criticism. -- Mark Morgan Llo

[fpc-pascal] FPC and SSH

2016-02-05 Thread Mark Morgan Lloyd
know what happened to it? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] FPC and SSH

2016-02-05 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2016-02-05 16:41, Mark Morgan Lloyd wrote: but can't see any files attached. You have to be logged into the Forum's otherwise you don't see attachments like images, files etc. I didn't check, but I guess that is your problem. Sounds reasonable, thanks. -- Mark

Re: [fpc-pascal] IfThen() intrinsic removed

2016-02-05 Thread Mark Morgan Lloyd
a clarification: is that your position, or the core team's? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org h

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Mark Morgan Lloyd
rom Pascal, although somebody's comment about operator priority and the heavy going that some texts make of describing nesting suggest that there are hazards, at least for people who aren't already familiar with the language. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opin

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Mark Morgan Lloyd
evaluate function parameters when required, then it is necessary to implement ALGOL-60's "call by name" semantics, which were universally agreed to be deeply messy and perhaps not even what the standard authors intended. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Op

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Mark Morgan Lloyd
Martin Schreiber wrote: And it could be extended to " V:= case i1 of 1: 'one'; 2: 'two'; else 'none'; end; I'm rather less happy with this because of the difficulty of inserting inline assertions etc. to catch unexpected values. -- Mark Morgan Lloyd ma

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-02-02 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Tue, 2 Feb 2016, Mark Morgan Lloyd wrote: The "if then" construct is really confusing. "if then" is a statement, not an expression. Yes, and that's why to get the desired semantics it's more appropriate to use if then else rather than

Re: [fpc-pascal] Pascal Lexical Diagrams

2016-02-01 Thread Mark Morgan Lloyd
rams suitable for the documentation. That would avoid having multiple language descriptions in different forms, which is obviously a hazard. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] __

Re: [fpc-pascal] New feature: IfThen() intrinsic

2016-01-31 Thread Mark Morgan Lloyd
-if I've decided to add it as an intrinsic function instead of an extension of the language. Thanks for that, it will make maintaining some Pascal transcribed from Javascript much easier. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his

Re: [fpc-pascal] Issues with fpc-build-3.0.0

2016-01-29 Thread Mark Morgan Lloyd
ppcx86 forcibly overwritten before I was ready for it might not be what I wanted. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] constructor "guarantee" and other behavioural stuff

2016-01-21 Thread Mark Morgan Lloyd
, but for past several years I have been programming in Smalltalk so this looks familiar. :-) [GRIN] -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] Writing floating points to steams

2016-01-13 Thread Mark Morgan Lloyd
to process it on a platform that supports alternatives? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Writing floating points to steams

2016-01-13 Thread Mark Morgan Lloyd
Torsten Bonde Christiansen wrote: On 2016-01-13 10:06, Mark Morgan Lloyd wrote: Serguei TARASSOV wrote: On 13/01/2016 08:47, fpc-pascal-requ...@lists.freepascal.org wrote: On 2016-01-12 10:45, Torsten Bonde Christiansen wrote: Since TStream doesn't have any native WriteFloat/Double

Re: [fpc-pascal] No official FPC 3.0 installer for Solaris

2016-01-04 Thread Mark Morgan Lloyd
, or are there two variants? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] ideU version 1.0.0.

2015-12-26 Thread Mark Morgan Lloyd
ld also be told that a configuration file is about to be created, where it's being told, and how to override that choice if appropriate. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

Re: [fpc-pascal] Assigning string constant to a WideString and the Format function

2015-12-23 Thread Mark Morgan Lloyd
. 2015 o 11:07 Mark Morgan Lloyd napísal(a):> Lubos Pintes wrote:>> Hello,>> I have a text in the WideString variable. I want to send this text to>> a SAPI5 synthesizer. I am doing this as follows:>> WideStr := Format('%s', [Pitch, Text]);>> Pitch is integer,

Re: [fpc-pascal] Lack of 'volatile' a serious issue. Any other such caveats?

2015-12-19 Thread Mark Morgan Lloyd
that any reordered reads and writes are disentangled: I'd not expect it to invalidate registers. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] Writing DLLs to by used in Excel VBA code

2015-12-15 Thread Mark Morgan Lloyd
than anything else. I've definitely got a Pascal program calling a Pascal-written .so from the same directory that contains the main binary, and in most cases it's possible to tailor the path using- among other things- LD_LIBRARY_PATH. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

Re: [fpc-pascal] Does SetLength clear its elements to zeros?

2015-12-11 Thread Mark Morgan Lloyd
-- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] alternatives for "cwstring" and "cthreads"

2015-12-11 Thread Mark Morgan Lloyd
some point and the changes happened at different kernel/library versions on different architectures. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist

Re: [fpc-pascal] shell script with root rights and automatic password

2015-12-06 Thread Mark Morgan Lloyd
this. Otherwise you're probably into the realms of SSHing to localhost, but if you're having to do that sort of thing you really do need to ask yourself whether you really want to do what you think you want to do. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's

Re: [fpc-pascal] FPC fixes 3 0 fails to build on linux arm

2015-12-02 Thread Mark Morgan Lloyd
't needed for the current release, as I noted here a couple of days ago when I reported a successful build. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pasca

Re: [fpc-pascal] which GUI (noob)

2015-12-02 Thread Mark Morgan Lloyd
Saša Janiška wrote: On Uto, 2015-08-04 at 16:35 +, Mark Morgan Lloyd wrote: I must admit that I spent some time exploring some other possibleoptions in regard to the choice of programming language to be used formy desktop GUI project, just to come to the conclusion, even strongerthan

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

2015-11-30 Thread Mark Morgan Lloyd
nd mean" distro ("Adde parvum parvo magnus acervus erit") and my guess is that the Unicode stuff is inadequately configured probably impacting on FPC. I mention it here entirely as a "heads up" for anybody attempting a similar combination. In all of the above cases, /

Re: [fpc-pascal] Communication between machines

2015-11-29 Thread Mark Morgan Lloyd
nking INDI there, but it already appears to be networked) or a suitable XML-based instrumentation protocol (I wasn't thinking INDI, but it appears to fall into that category :-) I'd say that a Pascal translation of the INDI headers would be in everybody's interest. -- Mark Morgan Lloyd markMLl .AT. te

Re: [fpc-pascal] FPC 3.0 + MIPS Linux

2015-11-27 Thread Mark Morgan Lloyd
never felt up to investigating an FPC IRIX port. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-23 Thread Mark Morgan Lloyd
our SSH so that you can tunnel an X session over it. That will fix your C problems. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist -

Re: [fpc-pascal] [fpc-announce] Feature announcement: Generic functions, procedures and methods

2015-11-22 Thread Mark Morgan Lloyd
that he's put a lot of work into. Start a new thread, and make sure you tell us what compiler etc. you're starting with. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-12 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Tue, 10 Nov 2015 01:29:07 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Figured that by using svn I would get exactly what is needed for bulding fpc... I've already- strongly- suggested that you use fpcbuild. That's a complete snapshot which

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-10 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Monday 09 November 2015 23:57:30 Bo Berglund wrote: On Mon, 9 Nov 2015 15:19:12 +0100, Martin Schreiber <mse00...@gmail.com> wrote: On Monday 09 November 2015 11:35:05 Mark Morgan Lloyd wrote: So. I'd suggest that you start off with Martin's binary,

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-10 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Tuesday 10 November 2015 09:48:23 Mark Morgan Lloyd wrote: Yes. And I recommend to use cross compiling and debugging from a X86 Linux PC: http://www.mail-archive.com/lazarus%40lists.lazarus.freepascal.org/msg504 06.html On that we'll have to disagree. The RPi

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread Mark Morgan Lloyd
you'll need to link in appropriate runtimes. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] mips linux cross compiled application error

2015-11-10 Thread Mark Morgan Lloyd
for any mention of OpenWrt. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Mark Morgan Lloyd
/ my_2.6.4_source -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-09 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Sun, 08 Nov 2015 16:18:51 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Bo Berglund wrote: I think my 2.6.4 is OK because I got it as follows (from my notes): wget http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-lin

Re: [fpc-pascal] What is the svn url for fpc release 2.6.4

2015-11-09 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Mon, 09 Nov 2015 17:03:42 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Bo Berglund wrote: I have googled extensively now and not found this, so please tell me how I can get fpc 2.6.4 sources from svn. svn co http://svn.freepascal.org/svn/fp

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-08 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Sun, 08 Nov 2015 12:33:38 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: How am I supposed to update fpc 3.1.1? You must always start with a released (currently 2.6.4) compiler. That is normal. To do this, you can e.g. make a symlink to the

Re: [fpc-pascal] Updated FPC from svn but make does not work..

2015-11-08 Thread Mark Morgan Lloyd
compiler, i.e. something like make OVERRIDEVERSIONCHECK=1 all I'd not normally recommend this, but I think in the current case it's necessary and safe. TO EMPHASISE: UNDER NORMAL CIRCUMSTANCES USE THE LAST-RELEASED COMPILER. In haste, -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

Re: [fpc-pascal] Does TThread.Execute terminate thread on exit?

2015-11-01 Thread Mark Morgan Lloyd
on the main thread checking an "executing" flag, there's a race condition between this being reset and its being safe for the main thread to call FreeAndNil(). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-pascal] is scrypt available?

2015-10-30 Thread Mark Morgan Lloyd
are implementing suspend/resume or process migration, which could leave sensitive data on disc or move it over a network. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc

Re: [fpc-pascal] is scrypt available?

2015-10-26 Thread Mark Morgan Lloyd
of) DCPcrypt with Lazarus. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] Getting build ID

2015-10-26 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Andrew Haines wrote: On 10/22/2015 08:08 PM, Mark Morgan Lloyd wrote: If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? I've never done it but maybe a place to start is use

Re: [fpc-pascal] Getting build ID

2015-10-25 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Andrew Haines wrote: On 10/22/2015 08:08 PM, Mark Morgan Lloyd wrote: If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? I've never done it but maybe a place to start is use the elfreader unit in fcl-res to open

Re: [fpc-pascal] Getting build ID

2015-10-24 Thread Mark Morgan Lloyd
Andrew Haines wrote: On 10/22/2015 08:08 PM, Mark Morgan Lloyd wrote: If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? I've never done it but maybe a place to start is use the elfreader unit in fcl-res to open ParamStr(0) and read

[fpc-pascal] Getting build ID

2015-10-22 Thread Mark Morgan Lloyd
If a program is linked with GNU ld using the --build-id option, how can it retrieve the value at runtime? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc

Re: [fpc-pascal] variable declarations with 'absolute' syntax

2015-10-14 Thread Mark Morgan Lloyd
potentially interpret an absolute declaration as indicating that that location should not be swapped/overlaid/relocated. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc

[fpc-pascal] Distinguishing between ARM and ARMHF at build time

2015-10-11 Thread Mark Morgan Lloyd
$(TargetOS)-$(LCLWidgetType) Is there any way of determining that the target is actually an ARM HF (e.g. Raspberry Pi) rather than some other ARM, so that "HF" could be incorporated at compilation time or at the very least the about box text could be patched at runtime? -- Mark Morgan Lloyd markM

Re: [fpc-pascal] Access GPIO pins on RPi2 without root?

2015-10-09 Thread Mark Morgan Lloyd
on where I had no choice but to stop. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

Re: [fpc-pascal] Access GPIO pins on RPi2 without root?

2015-10-08 Thread Mark Morgan Lloyd
. You probably just have to add your user to that group. Yes, it's the gpio group. I worked through the first couple of steps as described on the Lazarus wiki page manually (i.e. using echo from the command line), so can confirm that it's broadly accurate as of Raspbian "Wheezy".

Re: [fpc-pascal] Access GPIO pins on RPi2 without root?

2015-10-08 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 08 Oct 2015 19:48:54 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Do not, under any circumstances, try to fiddle with the permission of those files/directories. Instead, add the gpio group to your normal user (as I have already said).

Re: [fpc-pascal] Access GPIO pins on RPi2 without root?

2015-10-08 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 08 Oct 2015 13:15:10 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: You access the GPIOs via the kernel's sysfs interface. The files are all under /sys/class/gpio. I'd be pretty amazed if your distro doesn't already have a udev rule

Re: [fpc-pascal] PostgreSQL notifications broken

2015-10-07 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Mon, 28 Sep 2015, Mark Morgan Lloyd wrote: PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper" than periodically polling a table for changes.

Re: [fpc-pascal] Access GPIO pins on RPi2 without root?

2015-10-07 Thread Mark Morgan Lloyd
berry_Pi#1._Native_hardware_access I see mention of /sys/class/gpio etc. although I've not looked to see what's implemented as standard. Using this interface requires membership of the gpio group, which in principle answers Bo's question. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opin

Re: [fpc-pascal] Methods for autoupdating fpc programs?

2015-10-04 Thread Mark Morgan Lloyd
re can be a performance impact. If you want to continue this, please start a thread in either fpc-other or lazarus-other asking about running Lazarus remotely. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or coll

Re: [fpc-pascal] Methods for autoupdating fpc programs?

2015-10-04 Thread Mark Morgan Lloyd
for this in the ELF header. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin

Re: [fpc-pascal] Methods for autoupdating fpc programs?

2015-10-04 Thread Mark Morgan Lloyd
Jürgen Hestermann wrote: Am 2015-10-04 um 15:41 schrieb Mark Morgan Lloyd: Michael Van Canneyt wrote: On Sun, 4 Oct 2015, Graeme Geldenhuys wrote: On 2015-10-04 13:16, Mattias Gaertner wrote: Replacing a running program by simply copying can result under Linux in 'text file busy

Re: [fpc-pascal] Methods for autoupdating fpc programs?

2015-10-04 Thread Mark Morgan Lloyd
OS) decides that constrained resources means that a segment can usefully be removed from memory, and further decides that it's a read-only segment so rather than writing it to swap it will- if it needs it again- reread it from the original binary. -- Mark Morgan Lloyd markMLl .AT. telemetry.co

Re: [fpc-pascal] Screwed FPC installation in Xubuntu

2015-10-02 Thread Mark Morgan Lloyd
am as root with the X11 stuff passing over the SSH connection. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] PostgreSQL notifications broken

2015-09-28 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Mon, 28 Sep 2015, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Fri, 11 Sep 2015, Mark Morgan Lloyd wrote: PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper&

Re: [fpc-pascal] PostgreSQL notifications broken

2015-09-28 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 11 Sep 2015, Mark Morgan Lloyd wrote: PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper" than periodically polling a table for changes. I've had this working on va

Re: [fpc-pascal] How to compile Lazarus program using only FPC?

2015-09-25 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Fri, 25 Sep 2015 08:30:10 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Bo Berglund wrote: If absolutely necessary I will have to set up the RPi with a monitor, keyboard and mouse and install Lazarus and compile from there. B

Re: [fpc-pascal] How to compile Lazarus program using only FPC?

2015-09-25 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 25/09/15 16:13, Bo Berglund wrote: On Fri, 25 Sep 2015 08:30:10 +, Mark Morgan Lloyd <markmll.fpc-pas...@telemetry.co.uk> wrote: Bo Berglund wrote: If absolutely necessary I will have to set up the RPi with a monitor, keyboard and mouse and install L

Re: [fpc-pascal] How to compile Lazarus program using only FPC?

2015-09-25 Thread Mark Morgan Lloyd
embler or linker. You /do/ appreciate that you can tunnel the X11 user interface across SSH, and that most distreaux enable this by default, don't you? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employe

Re: [fpc-pascal] detect implementation / interface sections

2015-09-25 Thread Mark Morgan Lloyd
s a single file can be imported. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

Re: [fpc-pascal] *SPAM* Re: How to compile Lazarus program using only FPC?

2015-09-25 Thread Mark Morgan Lloyd
d together, you can (a) use the IDE for a non-LCL project, (b) build an LCL project using lazbuild, and (c) use the IDE for an LCL-based project. So functionally, there are distinctions. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the auth

Re: [fpc-pascal] Unit crt

2015-09-23 Thread Mark Morgan Lloyd
the output of the commands as the way your local terminal is going to respond to the text it's being sent. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal

Re: [fpc-pascal] Unit crt

2015-09-23 Thread Mark Morgan Lloyd
/man-pages/man3/termios.3.html Noting in particular that that documents cfmakeraw(), and that there isn't a specific function to "unmake" it which is why the original state is saved. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not th

Re: [fpc-pascal] Unit crt

2015-09-23 Thread Mark Morgan Lloyd
Rainer Stratmann wrote: What does SetRawMode do? Applies CFMakeRaw. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] howto find alternatives for deprecated fucntions?

2015-09-17 Thread Mark Morgan Lloyd
anybody who insists on using functions which were already deprecated by that point had better have a compelling reason, and should have made that reason clear to the core developers in case they were missing some detail. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-16 Thread Mark Morgan Lloyd
the earlier thread. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman

Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-14 Thread Mark Morgan Lloyd
And that was without any particular additions, other than what came with Raspbian 2014 as standard; Raspbian 2015 doesn't need most of those options (i.e. either miss out the -FL and -Fl options, or follow Martin's procedure). -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above

Re: [fpc-pascal] got SIGSEGV with objfpc dialect

2015-09-13 Thread Mark Morgan Lloyd
che fou wrote: Atm i don't know how to report , i'll try to figure out how to http://wiki.lazarus.freepascal.org/How_do_I_create_a_bug_report -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues

[fpc-pascal] PostgreSQL notifications broken

2015-09-11 Thread Mark Morgan Lloyd
so that the server no longer knows that the app wants to receive notifications. I haven't yet researched what relevant info Postgres exposes. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___

Re: [fpc-pascal] PostgreSQL notifications broken

2015-09-11 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 11 Sep 2015, Mark Morgan Lloyd wrote: PostgreSQL has a useful feature where application programs can send notifications to each other, this tends to be much "cheaper" than periodically polling a table for changes. I've had this working on va

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

2015-09-07 Thread Mark Morgan Lloyd
) which doesn't appear to break anything but can be fixed by a -Fl. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] How to use serial or usb-ports in linux

2015-09-07 Thread Mark Morgan Lloyd
to be part of the "dialout" group to have access to the serial ports. Same for Slackware and possibly others. Always catches me out, despite doing quite a lot of this sort of stuff. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his emp

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

Re: [fpc-pascal] arm-linux for Raspberry 1 FPC 3.0.0-rc1 release

2015-09-02 Thread Mark Morgan Lloyd
and format errors reported when I try to decompress... this appears to be something consistent rather than an intermittent fault. Since I was able to decompress stuff earlier this could be related to the amount of storage available. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions

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

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 particula

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

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

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)

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

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 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

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

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

2015-08-29 Thread Mark Morgan Lloyd
compiler (even if you already start with an armhf compiler). I haven't updated the compiler readme yet, but I've at least mentioned this in the mean time at http://wiki.freepascal.org/FPC_New_Features_3.0#Support_for_the_armhf_EABI Thanks, noted and aware. -- Mark Morgan Lloyd markMLl

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

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

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

2015-08-26 Thread Mark Morgan Lloyd
/beta/3.0.0-rc1 Is there a native ARM version compatible with the Raspberry Pi? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal maillist - fpc-pascal

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

2015-08-20 Thread Mark Morgan Lloyd
basically restricted to passing/returning strings as procedure parameters/results. Delphi has Runtime Packages for this. But those are not (yet) implemented in fpc (which would need to do that for all OSes) So you need to do flat library calls: no objects, no strings, ... -- Mark Morgan Lloyd

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

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

<    1   2   3   4   5   6   7   8   9   10   >