Re: [fpc-pascal] Congratulations to FPC!

2007-04-03 Thread Cesar Romero
I saw 2 threads in borland non-tech and references to slashdot about morfik patents: "Subject: Morfik Patents AJAX Compiler" Is that what you guys are celebrating? I saw too that is a application patent not applyed yet, but I dee desagree with this kind of behavior, not yours, but from morfik,

[fpc-pascal] coin3d bindings

2007-04-03 Thread Mattias Gaertner
Is there already a binding for the coin3d library? For example: http://doc.coin3d.org/SoQt/ Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: the example daemon.pp, for example, crashes right away, strace doesn't seem very useful to me: but it works fine cross-compiling (with fpc 2.0.4). I cannot find a way to cross-compile my test program: [EMAIL PROTECTED] fork]$ ppcarm -Fu/home/luca/fpc-arm-2.0.4/

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Micha Nelissen
Luca Olivetti wrote: >> Backgrounding is not the same as forking. > > I (vaguely) understand the difference, but I think (probably mistakenly) > that the problems are related. I'm not saying the problems are not related; they may be. It's just important to know there is a difference. > the exam

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Luca Olivetti
En/na Micha Nelissen ha escrit: Luca Olivetti wrote: [EMAIL PROTECTED]:~$ uname -a Linux lspro 2.6.12.6-arm1 #77 Tue Dec 5 22:23:46 CST 2006 armv5tejl GNU/Linux I've gotten access to an arm-linux system, where I cannot reproduce the crash. That system is using 2.6.18 kernel. Can you try a newe

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Luca Olivetti
En/na Micha Nelissen ha escrit: Luca Olivetti wrote: synchronize and critical sections, c library with callbacks to pascal, etc.) is working flawlessly in the foreground, but it segfaults if I try to background it (or try to use fpFork), and this is a problem since I want to write a daemon (i ca

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Micha Nelissen
Luca Olivetti wrote: > [EMAIL PROTECTED]:~$ uname -a > Linux lspro 2.6.12.6-arm1 #77 Tue Dec 5 22:23:46 CST 2006 armv5tejl > GNU/Linux I've gotten access to an arm-linux system, where I cannot reproduce the crash. That system is using 2.6.18 kernel. Can you try a newer kernel as well ? Micha

Re: [fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Micha Nelissen
Luca Olivetti wrote: > synchronize and critical sections, c library with callbacks to pascal, > etc.) is working flawlessly in the foreground, but it segfaults if I try > to background it (or try to use fpFork), and this is a problem since I > want to write a daemon (i can use screen though if that

[fpc-pascal] problem with threads and backgrounding, fpc 2.1.3 arm native

2007-04-03 Thread Luca Olivetti
[I'm not sure if this should go here or fpc-devel] Hello, I'm quite impressed by the native arm compiler that I grabbed here ftp://ftp.freepascal.org/pub/fpc/beta/2.1.2/arm-linux/. My small but relatively complex program (with various threads using synchronize and critical sections, c library wi

Re: [fpc-pascal] [fpstat - file]: Return the correct number of st_mode in order to get chmod permissions ?

2007-04-03 Thread Marco van de Voort
> I need to return the correct mask of chmod permission, in this case, > i have copy the FPC example , but i cannot convert "info.st_mode" in > human readable mask (0777, 0755...) http://www.freepascal.org/docs-html/rtl/system/octstr.html Since the PDFs seem currently unsearchable, download a c

[fpc-pascal] [fpstat - file]: Return the correct number of st_mode in order to get chmod permissions ?

2007-04-03 Thread TOUZEAU DAVID
Dear I need to return the correct mask of chmod permission, in this case, i have copy the FPC example , but i cannot convert "info.st_mode" in human readable mask (0777, 0755...) For example, with a file in 0755 mask the function return 16877 value in info.st_mode. best regards unit bas

[fpc-pascal] Pipe buffering, accessing C-style stdin/stdout

2007-04-03 Thread Ingemar Ragnemalm
Sorry for not replying "in thread", I get the list as digest so I can't "reply" properly. > > The problem with FPC is that I > > can't find any straightforward way to either get PFile-style > > stdin/stdout from the Text-style input/output (surely there is a > > connection?) > Yes. PFile _IS_