Re: [fpc-devel] for-in-index loop

2013-01-30 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 29.01.13, 17:23, Hans-Peter Diettrich пишет: Paul Ishenin schrieb: At least it's more fun to implement something very new, instead of working on incomplete parts (loadable libraries, targets) which had been delayed due to problems. The same situation in Lazarus and in

Re: [fpc-devel] Fixes 2.6.1 fails to install under Win32

2013-01-30 Thread Graeme Geldenhuys
On 01/30/13 02:22, Michalis Kamburelis wrote: Do not use a final backslash, like make install INSTALL_PREFIX=c:\fpc\2.6.1 Ah, that did the trick. Thank you for your help. Side Note: That also highlights how fragile the build system is, but that is another issue. Regards, - Graeme -

Re: [fpc-devel] Synapse hangs in ARM-Linux

2013-01-30 Thread Michael Schnell
On 01/28/2013 08:03 PM, waldo kitty wrote: i'm trying to make sure i'm following along here because i'm also using synapse for a project... Do you know where to find the Synapse Powers ? I do hope (and feel) they are interested in helping to make this work and fix potential problems in the

Re: [fpc-devel] Synapse hangs in ARM-Linux

2013-01-30 Thread Tomas Hajny
On Wed, January 30, 2013 10:04, Michael Schnell wrote: On 01/28/2013 08:03 PM, waldo kitty wrote: i'm trying to make sure i'm following along here because i'm also using synapse for a project... Do you know where to find the Synapse Powers ? I do hope (and feel) they are interested in

Re: [fpc-devel] Synapse hangs in ARM-Linux

2013-01-30 Thread Michael Schnell
On 01/30/2013 12:12 PM, Tomas Hajny wrote: The dedicated support list for Synapse might be a better place for potential issues related to Synapse Did so, Hoping to see both of you over there... -Michael ___ fpc-devel maillist -

[fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Ewald
Hello, I was just writing a little mmapped (that's two `m`'s -- no typo ;-) ) file stream and thought to do it properly just in case I might fork(). So I thought to give some advise about memory: madvise(daBuffer, FileSize, MADV_DONTFORK); Now if I check the result value and, if 0, print

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Marco van de Voort
In our previous episode, Ewald said: I was just writing a little mmapped (that's two `m`'s -- no typo ;-) ) file stream and thought to do it properly just in case I might fork(). So I thought to give some advise about memory: Why not simply use fpgetcerrnp in unit initc? I get the most

Re: [fpc-devel] Synapse hangs in ARM-Linux

2013-01-30 Thread waldo kitty
On 1/30/2013 04:04, Michael Schnell wrote: On 01/28/2013 08:03 PM, waldo kitty wrote: i'm trying to make sure i'm following along here because i'm also using synapse for a project... Do you know where to find the Synapse Powers ? no, sorry, i do not... i haven't seen them in the synapse

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Ewald
Once upon a time, on 01/30/2013 08:17 PM to be precise, Marco van de Voort said: In our previous episode, Ewald said: I was just writing a little mmapped (that's two `m`'s -- no typo ;-) ) file stream and thought to do it properly just in case I might fork(). So I thought to give some advise

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Marco van de Voort
In our previous episode, Ewald said: fpgetcerrno from initc gives me the correct results as well; and by looking at the code I see it implements it by using `__errno_location` under linux, so no surprise there. Well, the surprise is that initc worked, and yours not. From a quick glance I

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Ewald
On 30 Jan 2013, at 21:52, Marco van de Voort wrote: In our previous episode, Ewald said: fpgetcerrno from initc gives me the correct results as well; and by looking at the code I see it implements it by using `__errno_location` under linux, so no surprise there. Well, the surprise is that

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Marco van de Voort
In our previous episode, Ewald said: Well, the surprise is that initc worked, and yours not. From a quick glance I believe it to be correct too. I believe there is a bit of confusion: Ok, cler. The function that seemingly doesn't work is the native fpGetErrNo (with native I mean the

Re: [fpc-devel] Weird output from fpGetErrNo

2013-01-30 Thread Tomas Hajny
On Wed, January 30, 2013 23:18, Ewald wrote: On 30 Jan 2013, at 21:52, Marco van de Voort wrote: In our previous episode, Ewald said: . . fpcerrno is always linking to libc's errno. On platforms where FPC uses libc to acces the kernel, errno=cerrno. Thus on linux fpc does its own kernel