Re: [fpc-pascal] Correct use of GetThreadManager to Semaphores

2009-03-25 Thread Léo Willian Kölln
OK! I will take a look at the pthreads unit. Maybe i make a multi-platform(windows/linux) syncronization unit for the project i´m on and i will try publish it. Thank you Jonas! Léo Willian Kölln 2009/3/25 Jonas Maebe : > > On 25 Mar 2009, at 14:18, Léo Willian Kölln wrote: > >> Léo Willian Köll

Re: [fpc-pascal] Correct use of GetThreadManager to Semaphores

2009-03-25 Thread Jonas Maebe
On 25 Mar 2009, at 14:18, Léo Willian Kölln wrote: Léo Willian Kölln On Tue, Mar 24, 2009 at 5:41 PM, Jonas Maebe > wrote: On 24 Mar 2009, at 18:53, Léo Willian Kölln wrote: But then, what is this post about? http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg11866.html Bad a

Re: [fpc-pascal] Correct use of GetThreadManager to Semaphores

2009-03-25 Thread Léo Willian Kölln
So... What i do now? There is no way to use semaphores on Linux? Not even using a syscall or something? The bad advice is this one or the one from the link i passed? Léo Willian Kölln On Tue, Mar 24, 2009 at 5:41 PM, Jonas Maebe wrote: > > On 24 Mar 2009, at 18:53, Léo Willian Kölln wrote: > >>

Re: [fpc-pascal] Re: specifying the relative path to a file that is located in the same folder as the application bundle?

2009-03-25 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: (very old message I found in an anti-spam box, about paramstr(0) and maintaining configuration files relative to it) > In a sense, this is no problem because on Unix-like platforms you are > not supposed to use the fact where a binary is located in the

Re: [fpc-pascal] using fpc on a arm4t system failed - trying to cross compile

2009-03-25 Thread Benedikt Schindler
Hi, the file from Florian didn't work. But i looked around in the mailing lists and now i try to crosscompile a new version for the openmoko device. I crosscompiled binutils for "arm4tl-unknown-linux". and then i tried to cross compile the FPC (2.3.x) with this command: make all OS_TARGET=li