[fpc-pascal] Where does Write(Ln) actually write to?

2009-05-04 Thread leledumbo
I'm almost there to have Write(Ln) works for my OS. I've made SysInitStdIO call OpenStdIO(Output,fmOutput,StdOutputHandle); and calling Write(Ln) gives no error (i.e. IOResult = 0). But where does it actually write to? If I can access the buffer, I can display it on the screen. -- View this mess

Re: [fpc-pascal] Console application with multi-threading

2009-05-04 Thread Vinzent Höfler
> Is it possible to have a multi-threaded console application? Yes. BTDT. > The reason I ask, is because I can't see CheckSynchronize() being > called anywhere in TCustomApplication descendants like what Lazarus > (console app project) creates? Well, if you want to do it that way, you're free to

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Graeme Geldenhuys
On Mon, May 4, 2009 at 3:31 PM, Jonas Maebe wrote: > default, a non-cross-compiler indeed generates code for the same > architecure/OS combination as it was compiled for itself. Ah, so the compiler could be compiled for x86, but it's target when compiling applications could be for a different pr

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Florian Klaempfl
Vincent Snijders schrieb: > Graeme Geldenhuys schreef: >> I'm setting up the automated unit test runs for the tiOPF project. I >> initially ran it only on one Linux server, but now I want to do it on >> two servers. One being 32bit and the other being 64bit. Once the unit >> tests are complete, I

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Graeme Geldenhuys
On Mon, May 4, 2009 at 3:20 PM, Marco van de Voort wrote: > > One is the binary it is itself (S), the other is (T) is what it generates. > For crosscompilers this differs. Ah, so it's (S) I'm after. Thanks. :-) Regards, - Graeme - ___ fpGUI - a

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Jonas Maebe
On 04 May 2009, at 15:18, Graeme Geldenhuys wrote: What's the difference between these two sets of parameters. Under two linux systems (32bit and 64bit) both sets of parameters give the same output. So what's the difference between them? The host is the architecture/OS for which the compiler

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: I'm setting up the automated unit test runs for the tiOPF project. I initially ran it only on one Linux server, but now I want to do it on two servers. One being 32bit and the other being 64bit. Once the unit tests are complete, I use XSLT to generate a newsgroup posti

[fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Graeme Geldenhuys
Hi, What's the difference between these two sets of parameters. Under two linux systems (32bit and 64bit) both sets of parameters give the same output. So what's the difference between them? -iSO Return compiler OS -iSP Return compiler host processor -iTO Retu

Re: [fpc-pascal] 'compiler host' vs 'compiler target'

2009-05-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > What's the difference between these two sets of parameters. One is the binary it is itself (S), the other is (T) is what it generates. For crosscompilers this differs. ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] Console application with multi-threading

2009-05-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > Is it possible to have a multi-threaded console application? For > example I have a console application that does logging to a file. The > file logging is handled in a thread that does caching and contention > handling. This works fine for GUI

[fpc-pascal] Console application with multi-threading

2009-05-04 Thread Graeme Geldenhuys
Hi, Is it possible to have a multi-threaded console application? For example I have a console application that does logging to a file. The file logging is handled in a thread that does caching and contention handling. This works fine for GUI based applications, but what about Console based applic

Re: [fpc-pascal] File region locking unde Linux

2009-05-04 Thread Jonas Maebe
On 04 May 2009, at 09:35, ajv wrote: Thank you very much for the research you have done on this subject. I was unaware of the power of strace, I have never used this application, I will go into it. I see your name in the referred bug, I think you are the maintainer of this subject? Not re

Re: [fpc-pascal] File region locking unde Linux

2009-05-04 Thread ajv
Dear Jonas Maebe, Thank you very much for the research you have done on this subject. I was unaware of the power of strace, I have never used this application, I will go into it. I see your name in the referred bug, I think you are the maintainer of this subject? Do I have to report this as a