Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread leledumbo
AFAIK only -CfSSE? and -Op??? that you have to worry. If you're not sure, just use the lowest possible value (-CfX87 and -Op386). For optimizations, even using -O3 is fine. -- View this message in context: http://www.nabble.com/optimised-compiler-options-for-%22release%22-version-tp23919446p2393

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread fpclist
Excellent explanation. Thanks Martin. Regards, Nino //*** On Monday 08 June 2009 20:33:48 Martin Friebe wrote: > fpcl...@silvermono.co.za ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/

[fpc-pascal] Re: JUNK: fpc-pascal Digest, Vol 60, Issue 12

2009-06-08 Thread Richard Jasmin
-snip- agreed. This looks like TMemory manager reimplementation from the unit called via the system unit.[an include somewhere.don't ask me which one, I have been over the RTL half a dozen times this past week looking for includes] I think its in ossys.inc and heap/heaph.inc.The TMemory mana

Re: [fpc-pascal] Strange error

2009-06-08 Thread Graeme Geldenhuys
Hans Mårtensson wrote: All right, but with former versions of FPC there was no message if all memory was freed. I've been getting the memory usage output for some time already. So that is normal when heaptrc unit is enabled. And because the message is marked "error", I thought that it migh

[fpc-pascal] sparse matrix storage method

2009-06-08 Thread Alain Michaud
Hi, would someone know of a procedure for solving a system of linear equations using a SPARSE MATRIX storage model. if one uses the usual: array [1..1;1..1] of "mostly_zeroes" then this is a really big waist of memory. I am thinking of using: Tlist instead, but I would not like t

Re: [fpc-pascal] Strange error

2009-06-08 Thread Hans Mårtensson
Vincent Snijders wrote: Hans Mårtensson schreef: When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory b

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread Doug Chamberlin
fpcl...@silvermono.co.za wrote: Graeme Geldenhuys wrote: Can you please refrain from quoting the *whole* previous message... Okay. Point taken. Thank you, Nino! Everyone, please trim your quotes! ___ fpc-pascal maillist - fpc-pascal@lists.freepa

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread Martin Friebe
fpcl...@silvermono.co.za wrote: On Sunday 07 June 2009 22:19:47 Jonas Maebe wrote: On 07 Jun 2009, at 10:35, fpcl...@silvermono.co.za wrote: A high level, a class is like a record that has been modified to include functions and procedures. I know that I'm over simplifying thing here, pl

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread fpclist
On Monday 08 June 2009 19:55:00 Graeme Geldenhuys wrote: > Hi Nino, > > Can you please refrain from quoting the *whole* previous message, when your > reply only relates to one or two lines. If other developers want to read > the whole context of the message thread they can look in their email > hi

Re: [fpc-pascal] Strange error

2009-06-08 Thread Vincent Snijders
Hans Mårtensson schreef: When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory blocks allocated: 0/0 0 memo

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread Graeme Geldenhuys
Hi Nino, Can you please refrain from quoting the *whole* previous message, when your reply only relates to one or two lines. If other developers want to read the whole context of the message thread they can look in their email history or the mailing list archive. It is REALLY annoying seeing

RE: Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-06-08 Thread Henrik Genssen
so how can this unit be converted to FPC, as the Memorymanager of FPC seems to differ from delphi... unit nsMemory; {$MODE Delphi} interface uses nsXPCOM; const NS_MEMORY_CONTRACTID = '@mozilla.org/xpcom/memory-service;1'; NS_MEMORY_CLASSNAME = 'Global Memory Service'; NS_MEMORY_CID:

RE: Re: [fpc-pascal] Gecko / Firefox / XPCOM

2009-06-08 Thread Henrik Genssen
no, I did not know that. Thanx for the hint - but its stuck to QT :-( therefor I am more interested in gecko... >reply to message: >date: 24.05.2009 15:15:50 >from: "Den Jean" >to: "FPC-Pascal users discussions" >subject: Re: [fpc-pascal] Gecko / Firefox / XPCOM > >On Thursday 21 May 2009 22:3

Re: [fpc-pascal] Records as properties and Delphi compiler error

2009-06-08 Thread fpclist
On Sunday 07 June 2009 22:19:47 Jonas Maebe wrote: > On 07 Jun 2009, at 10:35, fpcl...@silvermono.co.za wrote: > > A high level, a class is like a record that has been modified to > > include > > functions and procedures. I know that I'm over simplifying thing > > here, please > > bare with me. > >

[fpc-pascal] Strange error

2009-06-08 Thread Hans Mårtensson
When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message: - Error Heap dump by heaptrc unit 0 memory blocks allocated: 0/0 0 memory blocks freed: 0/0 0 unf

Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread Graeme Geldenhuys
Bee wrote: > ExtPascal is more for server side application. You should know where > it will be deployed and you can set more appropriate options. ;) > Well, we have a couple of CGI applications written using Free Pascal (using powtils). We deploy it on some 300+ servers. We have no clue what ha

Re: [fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread Bee
> How safe is it to deploy such an executable to a wide variety of computers > out there. ExtPascal is more for server side application. You should know where it will be deployed and you can set more appropriate options. ;) -- -Bee- has Bee.ography at: http://beeography.wordpress.com _

[fpc-pascal] optimised compiler options for "release" version

2009-06-08 Thread Graeme Geldenhuys
Hi, I saw the following options recommended by the ExtPascal project for a final "release" build of ones project. Does this really make a difference in speed/performance and or executable size? How safe is it to deploy such an executable to a wide variety of computers out there. -O2pPENTIUM4 -CXp