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 de

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'

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

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

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

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

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

2015-08-29 Thread Mark Morgan Lloyd
="-dFPC_ARMHF" to get an armhf 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,

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

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

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

2015-08-20 Thread Mark Morgan Lloyd
x27;s 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 stri

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,

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

Re: [fpc-pascal] Different idea

2015-08-19 Thread Mark Morgan Lloyd
generally within the scope of an Rpi. -- 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.freep

Re: [fpc-pascal] quality of FPC random

2015-08-17 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 08/14/2015 04:38 PM, Mark Morgan Lloyd wrote: It seeds itself with "entropy" from the intervals between LAN packets, intervals between typed characters and so on. Unfortunately "Randomize" (in Linux in "System") just does randseed

Re: [fpc-pascal] quality of FPC random

2015-08-14 Thread Mark Morgan Lloyd
Or they've got broken security, which probably describes the majority. -- 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@

[fpc-pascal] Android and Atom

2015-08-12 Thread Mark Morgan Lloyd
I seem to have a tablet with Android 5.0 based on an Intel Atom CPU (Z3735F) here. I've got rather a lot of stuff on my plate so I'm putting off playing with this as long as I can, but can anybody comment on where FPC (and possibly Lazarus) are with this sort of device? -- Mark Mo

Re: [fpc-pascal] FPC's documentation license?

2015-08-08 Thread Mark Morgan Lloyd
on things and claim that their files are the original and anything published by FPC/Lazarus is an unauthorised copy. Sorting things out would probably be messy and expensive. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of hi

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

2015-08-05 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: I think that the one thing I'd suggest to everybody is that it would be highly desirable if the dangling else fix were guaranteed to break Pascal syntax. As such end if; etc. might be a better choice If you st

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

2015-08-05 Thread Mark Morgan Lloyd
er choice. -- 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] which GUI (noob)

2015-08-04 Thread Mark Morgan Lloyd
x86 and x86-64 Jessie, my experience so far is that GTK2 doesn't work and that Qt is the only viable option. GOK what it's like on other platforms that might not have such a well-tested Qt etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's,

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

2015-08-04 Thread Mark Morgan Lloyd
Gour wrote: Mark Morgan Lloyd writes: The first option would be a pure Pascal one, driving either a graphical or a text-based (curses etc.) UI. Here you mean fpGUI & MSEgui? No, more than anything I mean going directly to the relevant APIs. Using fpGUI etc. is a potentially-us

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

2015-08-04 Thread Mark Morgan Lloyd
I has pretty much the same learning curve I think. Graeme, could you update us on the extent to which Lazarus or an equivalent IDE supports form design etc. for fpGUI these days? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those

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

2015-08-04 Thread Mark Morgan Lloyd
ly do require careful choice of compiler version and- if using Lazarus- widget set. fpGUI and MSEgui definitely have their good points, they're lean and are only mean in self-defence :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not th

Re: [fpc-pascal] Interactive command recognition & mapping to program functions & other 'cli' features as a unit

2015-08-03 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 31/07/15 16:41, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: On 31/07/15 14:46, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi, I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which wil

Re: [fpc-pascal] Interactive command recognition & mapping to program functions & other 'cli' features as a unit

2015-07-31 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 31/07/15 14:46, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi, I tried piecing something like in $topic together, intended as an 'interactive' command interpreter for my program. (which will in time grow an 'embedded' web server and intended t

Re: [fpc-pascal] Interactive command recognition & mapping to program functions & other 'cli' features as a unit

2015-07-31 Thread Mark Morgan Lloyd
rded most of my attempts, it might be worth looking at if you're trying to process lines rather than characters. I think this was discussed a few months ago, and consensus was that there wasn't an adequate terminal emulator component. See below. http://free-pascal-lazarus.989080.n3.

Re: [fpc-pascal] Modems etc.

2015-07-27 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 24/07/15 12:12, Mark Morgan Lloyd wrote: It turns out that there's a more-or-less off-the-shelf solution in SpanDSP http://www.soft-switch.org/ which is one of the libraries that underlies IAXmodem. It provides a function to process a block of samples, hence a cal

Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-27 Thread Mark Morgan Lloyd
Coyo wrote: On Sun, 26 Jul 2015 15:47:52 + Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: On Sun, 26 Jul 2015, Coyo wrote: I have read on the wiki and documentation that FreePascal does not have any native support for socket handling, and that you need an external third party

Re: [fpc-pascal] Basic Sockets in FreePascal

2015-07-26 Thread Mark Morgan Lloyd
d by almost everybody but aren't packaged with FPC because their developers prefer to stay independent. -- 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] Parsers and Unicode

2015-07-25 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 24 Jul 2015, Mark Morgan Lloyd wrote: When writing something like a parser, does FPC have anything that exposes the properties of each Unicode codepoint? I'm thinking in particular of Unicode properties like BidiMirroring, which Perl6 uses to d

[fpc-pascal] Parsers and Unicode

2015-07-24 Thread Mark Morgan Lloyd
g.txt -- 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] Modems etc.

2015-07-24 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 20/07/15 17:32, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: It's been years since I had anything to do with DSP, unfortunately, but with the FFT running on the sliding 26-sample-long window, and a /reverse/ FFT to produce the 26-long sample from just having a byte

Re: [fpc-pascal] Modems etc.

2015-07-20 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: On 20/07/15 10:49, Mark Morgan Lloyd wrote: Lukasz Sokol wrote: Hi Mark, On 18/07/15 17:43, Mark Morgan Lloyd wrote: Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. i haven

Re: [fpc-pascal] Modems etc.

2015-07-20 Thread Mark Morgan Lloyd
Lukasz Sokol wrote: Hi Mark, On 18/07/15 17:43, Mark Morgan Lloyd wrote: Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. i haven't ;) but it's interesting: are you just assembling/dec

[fpc-pascal] Modems etc.

2015-07-18 Thread Mark Morgan Lloyd
Has anybody used FPC to decode (and generate) FSK modem tones on a VOIP connection? Strictly V.21, don't need the complexity of QAM etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [fpc-pascal] Duplicate RTLs

2015-07-02 Thread Mark Morgan Lloyd
stuff between the two to e.g. merge menu structures: it takes work but isn't particularly painful. -- 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] FPC linking syntax error

2015-06-21 Thread Mark Morgan Lloyd
pc an option like -k-T/some_path_here/ldscripts/elf32_sparc.x -- 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] loadlibrary() unsafe ?

2015-06-12 Thread Mark Morgan Lloyd
n ld.so is your friend. -- 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] loadlibrary() unsafe ?

2015-06-12 Thread Mark Morgan Lloyd
memory. Before trying anything like this, I suggest that it would be worth finding under what circumstances appropriate symlinks etc. are set up. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Ewald wrote: On 05/14/2015 04:17 PM, Mark Morgan Lloyd wrote: So in effect, both an exit and a raise first execute the innermost finally, then look for procedure end or exception block repeating as necessary. Yes. These are the only cases where syntax needs to be unwound in this way

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Ewald wrote: On 05/14/2015 12:08 PM, Mark Morgan Lloyd wrote: Is there a single place in the documentation where this sort of behaviour is described and prioritised, Your first fragment is documented on http://www.freepascal.org/docs-html/ref/refse103.html At the bottom of that page: `Note

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 14/05/15 13:18, Mark Morgan Lloyd wrote: Except that- as I understand it- when the reference count is decremented to oblivion, it will be destroyed by "magic" code in the context of the block it was created in. At which point exactly they will be destr

Re: [fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Thu, 14 May 2015, Mark Morgan Lloyd wrote: Starting off with this fragment begin // Start of procedure/function try ... if something then exit; ... finally ... end end; My understanding is that exit "magically" transfers contro

[fpc-pascal] Finally, exceptions and so on.

2015-05-14 Thread Mark Morgan Lloyd
ritised, taking into account interfaces etc.? -- 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://list

Re: [fpc-pascal] CRTI.O and CRTN.O not found

2015-04-15 Thread Mark Morgan Lloyd
FPC installation script was broken, but otherwise the only time it happens is if I move an fpc.cfg file from one system to another where the underlying gcc etc. version is different. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's,

Re: [fpc-pascal] Do the make commands have a way of listing the options and possible values for them?

2015-04-14 Thread Mark Morgan Lloyd
any information about additional options modifying the overall behaviour. If anybody works on this please could they link to 24789 on Mantis which is sitting there unassigned. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his emp

[fpc-pascal] [No subject]

2015-03-31 Thread Mark Morgan Lloyd
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
ich under some circumstances reported the address of an IP4 client formatted as IP6. It wouldn't be easy for me to get back into that at the moment, but I reported an ordering problem (Mantis 22605) and had my concerns partly allayed. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Op

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
7;s always a possibility that there are undetected 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 - fpc-pascal@lists.freepa

Re: [fpc-pascal] Portable coroutines

2015-03-23 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/20/2015 11:09 PM, Mark Morgan Lloyd wrote: Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a way that coroutines can be implemented

Re: [fpc-pascal] Portable coroutines

2015-03-22 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Efficient implementation of coroutines requires CPU-specific code in the RTL and possibly the compiler. However http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html suggests a way that coroutines can be

Re: [fpc-pascal] Portable coroutines

2015-03-22 Thread Mark Morgan Lloyd
hat proper implementation of coroutines means switching stacks which is highly architecture-specific; adding something like that to the RTL is a non-starter. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

Re: [fpc-pascal] SVN Protocolo implementation

2015-03-21 Thread Mark Morgan Lloyd
like import, commit and update. I wonder whether libsvn would do what you want. Google suggests that Dmitry Boyarintsev was looking at this. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colle

[fpc-pascal] Portable coroutines

2015-03-20 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] Thoughts on Shell Approach to TCP Sockets

2015-03-20 Thread Mark Morgan Lloyd
efined type e.g. a record describing the header followed by an array encompassing the data, however the actual length of the data is unknown at compilation time which means that hardware-supported bounds checking is less than useful. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinio

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-20 Thread Mark Morgan Lloyd
Coyo Stormcaller wrote: On 03/19/2015 04:25 AM, Mark Morgan Lloyd wrote: While it is possible to write a complete stack from scratch in any reasonably-complete programming language, and while this has been done for e.g. embedded systems (or by idiots such as myself for demonstration/testing

Re: [fpc-pascal] FPCUnit - parallel test suite execution

2015-03-19 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2015-03-19 08:10, Mark Morgan Lloyd wrote: In any event the output would need to be presented in a reproducible sequence. A good point, but thinking about it I don't think it would be that hard. The text output might be a bit more tricky, but not impossible.

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Mark Morgan Lloyd
ould be to make these into enumerations, which would be passed to a function as a parameter. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___ fpc-pascal mail

Re: [fpc-pascal] Thoughts on Shell Approach to TCP Sockets

2015-03-19 Thread Mark Morgan Lloyd
sting netpipes (hose and faucet) utilities. -- 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] FPCUnit - parallel test suite execution

2015-03-19 Thread Mark Morgan Lloyd
CPU's something to do and maybe complete 2000+ tests in a shorter period. ;-) Thoughts? In any event the output would need to be presented in a reproducible sequence. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his em

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
27;s quote that "A month later, the [Sourceforge] restrictions were relaxed so that individual projects could indicate whether or not their software should be blocked." I know that FPC has users in Cuba, do they still have problems downloading from Sourceforge? -- Mark Morgan Lloyd markM

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Sat, 14 Mar 2015, Mark Morgan Lloyd wrote: Graeme Geldenhuys wrote: If you haven't seen yet, Google announced that they will be closing down Google Code. My only concern is that some niche projects used it and that such code could be lost if not migrat

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2015-03-14 10:39, Mark Morgan Lloyd wrote: looking for an acceptable alternative- preferably one that operates by European rules rather than American ones. Google Code was definitely based on American rules. I know. Anyway, have a look at GitLab - I just bought

Re: [fpc-pascal] Google Code closing down

2015-03-14 Thread Mark Morgan Lloyd
needs migration, please do so. It is always sad to see open source code (no matter how old) simply lost. I was just about to start using it for something. Now I've got to start looking for an acceptable alternative- preferably one that operates by European rules rather than American ones. -- M

Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears t

[fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
veral seconds between calls. -- 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.o

Re: [fpc-pascal] FPC embedded ?

2015-03-05 Thread Mark Morgan Lloyd
blems which /might/ center on the removable SD card. BeagleBone Black has a lot going for it particularly if you can use its high-speed supplementary processors. Otherwise the MIPS Creator C120 http://store.imgtec.com/ look interesting, but I don't know whether anybody has FPC on it yet.

Re: [fpc-pascal] [Cross-post] Re: Free Pascal and Lazarus Nightly Builds

2015-03-04 Thread Mark Morgan Lloyd
s is from memory) "make cannot find the command -ijjhgjhgjhg". Apart from that, a valiant attempt :-) Just my 2d worth. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] ___

[fpc-pascal] InterLockedIncrement wrapping etc.

2015-03-02 Thread Mark Morgan Lloyd
ther cases that I need to take into account? -- 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

Re: [fpc-pascal] Use sleep in thread

2015-03-02 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 02/28/2015 08:20 PM, Mark Morgan Lloyd wrote: Looking at http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Initialization_and_Finalization there are dire warnings that TThread.Create() shouldn't be overridden. ??? The Docs say "No

Re: [fpc-pascal] Use sleep in thread

2015-03-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Sat, 28 Feb 2015 19:20:49 + Mark Morgan Lloyd wrote: [...] Looking at http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Initialization_and_Finalization there are dire warnings that TThread.Create() shouldn't be overridden. Th

Re: [fpc-pascal] the unexplained 666

2015-03-01 Thread Mark Morgan Lloyd
960, which predates its popularisation by DEC etc. by some years. -- 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-pasc

Re: [fpc-pascal] Use sleep in thread

2015-02-28 Thread Mark Morgan Lloyd
it's a significant issue? Sorry about the niggles, I'm currently trying to track down a race condition. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] __

[fpc-pascal] Reading build-id

2015-02-21 Thread Mark Morgan Lloyd
Does anybody have any example code for a program to read its own build-id (ELF note NT_GNU_BUILD_ID), if defined? Presumably this uses bfd.pas, which I notice is GPL rather than LGPL. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those o

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
it's lost the ~ (tilde) so 404s. -- 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.fre

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
r, you might find http://wiki.freepascal.org/Native_MIPS_Systems useful. I tweaked that a few days ago since I think a couple of steps were in the wrong order. -- 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] why fpc do not use a known return function value

2015-02-03 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/listinf

Re: [fpc-pascal] Cross-compile vs native

2015-01-28 Thread Mark Morgan Lloyd
x27;t install Lazarus, because you don't have a GUI. A headless system can still map a GUI to a desktop computer using X, VNC, SSH etc. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

Re: [fpc-pascal] Cross-compile vs native

2015-01-27 Thread Mark Morgan Lloyd
else. -- 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] access violations on new ARM hardware

2015-01-27 Thread Mark Morgan Lloyd
Björn Schreiber wrote: Am 26.01.2015 um 21:15 schrieb Mark Morgan Lloyd: Since nobody else has suggested anything: is the new hardware susceptible to alignment errors in a way that the old hardware wasn't? The question is: how can we know? The ARM documentation says only "The

Re: [fpc-pascal] access violations on new ARM hardware

2015-01-26 Thread Mark Morgan Lloyd
n is that there were issues on SPARC that might have included alignment problems, and on that architecture I had to abandon 2.6.4 promptly and move onto trunk. I'm currently testing Lazarus trunk at about 47318 is OK with FPC 2.7.1 29398 on various CPUs running Linux, can't speak

Re: [fpc-pascal] linux ACL

2015-01-23 Thread Mark Morgan Lloyd
ine). -- 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] TFileStream.Create and hidden files on Windows

2015-01-15 Thread Mark Morgan Lloyd
ments interesting. -- 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-b

Re: [fpc-pascal] MIPS32 support

2015-01-06 Thread Mark Morgan Lloyd
Lazarus. I don't know whether anybody from Imagination is lurking, but I was discussing FPC etc. with one of their directors a few months ago and he was fairly interested. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his em

Re: [fpc-pascal] FormatSettings not updated in Linux

2015-01-02 Thread Mark Morgan Lloyd
irectly where possible or use qemu-user to emulate them where not possible. ->8- -- 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] FormatSettings not updated in Linux

2015-01-02 Thread Mark Morgan Lloyd
I know, in this case we could switch to an external gdb and get rid of glibc but this proves only the point). Noting that I asked about something related to this in fpc-devel the other day, I assure you that I feel your pain. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions ab

[fpc-pascal] Benchmarks are odious, but...

2014-12-23 Thread Mark Morgan Lloyd
owing that he used FPC 2.2.0, is optimisation etc. likely to have improved enough that somebody could usefully suggest he rerun the test? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employer

Re: [fpc-pascal] Size of a partition

2014-12-19 Thread Mark Morgan Lloyd
re subtle, sometimes not. -- 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.or

Re: [fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
Ewald wrote: On 12/11/2014 11:13 PM, Howard Page-Clark wrote: On 11/12/2014 21:07, Mark Morgan Lloyd wrote: I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed somethin

[fpc-pascal] else and otherwise in a case statement

2014-12-11 Thread Mark Morgan Lloyd
tive otherwise clauses, and I spent enough time with Modula-2 to prefer enumerating all possibilities). Is this difference expected, and what is the best workaround? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleague

[fpc-pascal] mORMot

2014-12-01 Thread Mark Morgan Lloyd
Discussion elsewhere has mentioned mORMot as a development framework. It claims to work with both Delphi and FPC: is anybody actively using it "in anger", so that I can pass the confirmation back to where I saw this mentioned? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

Re: [fpc-pascal] FPC Heap Management : sub-allocation ?

2014-11-01 Thread Mark Morgan Lloyd
om discussion elsewhere I don't believe it could be added in a compatible way. Some variant of Mark() that took a parameter suggesting how much memory could be allocated could be useful, but your focus should be on preventing leaks and runaway rather than con

Re: [fpc-pascal] TIniFile: how to save bool as string?

2014-10-04 Thread Mark Morgan Lloyd
acked a wrapper some while ago for my own use, which tries to preserve the form of the variable (i.e. if it's currently "True" then "False" is written, but if it's "yes" then "no" is written"). That's obviously massively problemati

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-10-02 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: On 30/09/2014 22:05, Mark Morgan Lloyd wrote: Marco van de Voort wrote: In our previous episode, Sven Barth said: It is indeed true that all units are initialized once the main code Reinier: did you get as far as looking in Dynlibs for an error message immediately

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
uld the RTL have a flag indicating that initialisation (or finalisation?) blocks were currently being run, and anything called should assume that facilities were restricted? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
it was being invoked from DLL/so initialisation code and raise a "don't try that here" exception? Reinier: did you get as far as looking in Dynlibs for an error message immediately after trying to connect to the database? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

Re: [fpc-pascal] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
it is called, and when it exits it goes back to the OS (possibly via finalisation blocks). -- 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] Reproducible code: DLL calling Firebird crashes

2014-09-30 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Tue, 30 Sep 2014, Mark Morgan Lloyd wrote: Reinier Olislagers wrote: On 29/09/2014 19:30, Reinier Olislagers wrote: Re bug report: agreed. I'll raise it. Jonas has already closed it, noting "http://msdn.microsoft.com/en-us/library/windows/desktop/ms

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