[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
I am trying to write a multi-core processor simulator . I want 256 of them run as simultaneous threads. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Strange-issue-with-threads-tp2823464p4728565.html Sent from the Free Pascal - General mailing list archive at

[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
Thanks, this definitely helps at least the reason why it is breaking. I am not sure how to get around it though. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Strange-issue-with-threads-tp2823464p4728549.html Sent from the Free Pascal - General mailing list arc

Re: [fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread Werner Van Belle
On 08/23/11 22:46, rzbhatti wrote: > I followed the bug report > http://bugs.freepascal.org/view.php?id=13798 > and it says that it is resolved and closed. > > I am using fpc 2.4.4 on Windows XP. Like Luca Olivetti I am trying to create > 256 threads, but it chocks at 121 saying : Euhm ? You are

Re: [fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread Luca Olivetti
Al 23/08/11 22:46, En/na rzbhatti ha escrit: > I followed the bug report > http://bugs.freepascal.org/view.php?id=13798 > and it says that it is resolved and closed. > > I am using fpc 2.4.4 on Windows XP. Like Luca Olivetti I am trying to create > 256 threads, but it chocks at 121 saying : > >

[fpc-pascal] Re: Strange issue with threads

2011-08-23 Thread rzbhatti
I followed the bug report http://bugs.freepascal.org/view.php?id=13798 and it says that it is resolved and closed. I am using fpc 2.4.4 on Windows XP. Like Luca Olivetti I am trying to create 256 threads, but it chocks at 121 saying : An unhandled exception occurred at $0041099C : EThread : Fai

[fpc-pascal] make install

2011-08-23 Thread Marcos Douglas
Hi, For developers that use FPC sources from SVN, like me, I ask: 1. There are some advantage to use 'make install' to compile FPC? Which? 2. There are some advantage to install (make install) in a directory different of the sources? Which? Thanks, Marcos Douglas _

Re: [fpc-pascal] FPC i386 and x86_64 using the same source

2011-08-23 Thread Jonas Maebe
On 23 Aug 2011, at 08:46, Graeme Geldenhuys wrote: > I just searched all my PDF docs for FPC, and couldn't find a single > reference to 'crossinstall' anywhere. :-( The FPC documentation does not document building FPC itself, that is what the buildfaq is for (although apparently it doesn't ment

Re: [fpc-pascal] FPC i386 and x86_64 using the same source

2011-08-23 Thread Marcos Douglas
On Mon, Aug 22, 2011 at 9:04 PM, Den Jean wrote: > On Monday 22 August 2011 23:24:29 Jonas Maebe wrote: >> 3. Install everything to the same prefix. Add CROSSINSTALL=1 to the "make >> install" line for which you do not want to install the utilities (e.g., if >> you want the default compiler to be

Re: [fpc-pascal] FPC i386 and x86_64 using the same source

2011-08-23 Thread Marcos Douglas
On Mon, Aug 22, 2011 at 6:24 PM, Jonas Maebe wrote: > > On 22 Aug 2011, at 23:08, Marcos Douglas wrote: >> So, I understood right, is not supported. >> I not need these utilities and I do not know if they all are important >> or who uses them, etc. > > Some of them are used by the makefiles, some

Re: [fpc-pascal] Division by Zero

2011-08-23 Thread Michael Fuchs
Am 23.08.2011 09:16, schrieb Andreas Schneider: This code prints on the screen "+Inf", but I think it should be "NaN". Is this a bug or a special case in computer arithmetic? http://en.wikipedia.org/wiki/Division_by_zero#In_computer_arithmetic Oh, thank you. I should not read only the german

Re: [fpc-pascal] Division by Zero

2011-08-23 Thread Andreas Schneider
At Tuesday, 23.08.2011 on 8:57 Michael Fuchs wrote: > Hello, > >WriteLn(FloatToStr(100 / 0)); > > This code prints on the screen "+Inf", but I think it should be "NaN". > Is this a bug or a special case in computer arithmetic? http://en.wikipedia.org/wiki/Division_by_zero#In_computer_arithm