[fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Mark Morgan Lloyd
Is there a binary of 2.2.0 for i386 Linux still available anywhere? I'm having difficulty compiling it from source (possible problem in 2.2.4) and need it to investigate something that appears not to have worked properly in (Lazarus running with) later versions. -- Mark Morgan Lloyd markMLl

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Jonas Maebe
On 16 Feb 2012, at 11:02, Mark Morgan Lloyd wrote: Is there a binary of 2.2.0 for i386 Linux still available anywhere? No. All binaries before FPC 2.2.2 have been taken offline because those distributions included code that was possibly copied from (or at least heavily inspired by)

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Carsten Bager
If you use this link you can get the fpc-2.2.0.i386-linux.tar file http://freepascal.dk/files/fpc-2.2.0.i386-linux.tar Carsten Is there a binary of 2.2.0 for i386 Linux still available anywhere? I'm having difficulty compiling it from source (possible problem in 2.2.4) and need it to

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Jonas Maebe
On 16 Feb 2012, at 11:28, Carsten Bager wrote: If you use this link you can get the fpc-2.2.0.i386-linux.tar file http://freepascal.dk/files/fpc-2.2.0.i386-linux.tar That file should be taken offline, for the reason explained in my other mail.

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Mark Morgan Lloyd
Carsten Bager wrote: If you use this link you can get the fpc-2.2.0.i386-linux.tar file http://freepascal.dk/files/fpc-2.2.0.i386-linux.tar Carsten Thanks very much- got that. Is there a binary of 2.2.0 for i386 Linux still available anywhere? I'm having difficulty compiling it from

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Carsten Bager
Done Carsten On 16 Feb 2012, at 11:28, Carsten Bager wrote: If you use this link you can get the fpc-2.2.0.i386-linux.tar file http://freepascal.dk/files/fpc-2.2.0.i386-linux.tar That file should be taken offline, for the reason explained in my other mail. Jonas

Re: [fpc-pascal] looking for binary of 2.2.0

2012-02-16 Thread Mark Morgan Lloyd
Carsten Bager wrote: Done Carsten Issues noted, all files overwritten. I can confirm that 2.2.0 can be built by 2.2.0, but not by 2.2.4. There appears to be a similar problem with 2.2.2, but I can't remember whether the discontinuity is between 2.2.0 and 2.2.2, or 2.2.2 and 2.2.4. On 16

[fpc-pascal] benchmarking functions

2012-02-16 Thread ik
Hello, What is the best way measure execution time of functions ? Thanks, Ido ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: benchmarking functions

2012-02-16 Thread leledumbo
What I use: uses SysUtils,DateUtils; var BeginTime,EndTime: TDateTime; begin BeginTime := TimeOf(Now); // call the function here EndTime := TimeOf(Now); // whatever you need to do WriteLn(SecondSpan(BeginTime,EndTime)); // change to whatever XXXSpan function you like end. -- View

Re: [fpc-pascal] benchmarking functions

2012-02-16 Thread Henry Vermaak
On 16/02/12 16:10, ik wrote: Hello, What is the best way measure execution time of functions ? You can use gprof (build with -pg). Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] fphttpclient get an url with colon

2012-02-16 Thread Mattias Gaertner
Hi, When I use TFPHTTPClient to fetch a page with a colon in the file name it appends a slash /. For example: Client:=TFPHTTPClient.Create(nil); Response:=TMemoryStream.Create; Client.Get('http://wiki.lazarus.freepascal.org/Image:Acs_demos.jpg',Response); It fetches /Image:Acs_demos.jpg/.