[fpc-pascal] TComObject support

2005-05-31 Thread Sebastian Schuberth
Hi, I'm trying to compile some Delphi 5 / 6 source code (a Windows Explorer shell extension) with FPC which derives a class from TComObject and uses a unit ComServ. Both seem to be not available under FPC, nor under Lazarus. Is there still a way to get support for these in FPC? Thanks. -- S

[fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Adrian Veith
Hi, I am newbie with fpc (but not with pascal, which I use more than 20y now). We have lot of existing delphi code, which some of it, I want to port to new platforms - and fpc looks like the right tool for it. But I am concerned about the speed. I did some basic benchmarks and it seems, that t

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Florian Klaempfl
Adrian Veith wrote: > Hi, > > I am newbie with fpc (but not with pascal, which I use more than 20y now). > We have lot of existing delphi code, which some of it, I want to port to > new platforms - and fpc looks like the right tool for it. But I am > concerned about the speed. I did some basic be

[fpc-pascal] TObjectList in Contnrs in FCL (doc, usage)?

2005-05-31 Thread Tom Verhoeff
I would like to use TObjectList from Contnrs (because it occurs in some Delphi application that I wish to compile with FreePascal). There are two problems: (1) The compiler does not find the unit Contnrs. It turns out that this unit resides in /usr/lib/fpc/2.0.1/units/i386-lin

Re: [fpc-pascal] TObjectList in Contnrs in FCL (doc, usage)?

2005-05-31 Thread Peter Vreman
> I would like to use TObjectList from Contnrs (because it occurs in > some Delphi application that I wish to compile with FreePascal). > > There are two problems: > > (1) The compiler does not find the unit Contnrs. It turns out >that this unit resides in > > /usr/lib/fpc/2.0.1/u

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Adrian Veith
It shows with useless code like simple nested for .. to loops, but also with some more useful code like the attached RSA_Angriff from the C'T magazine. My results are with: fpc -Sd -OG3rp3 -XX RSA_Angriff_D5.dpr 5266 ms with: fpc -Sd -XX RSA_Angriff_D5.dpr 4844 ms The unoptimized code is

Re: [fpc-pascal] TObjectList in Contnrs in FCL (doc, usage)?

2005-05-31 Thread Michael Van Canneyt
On Tue, 31 May 2005, Tom Verhoeff wrote: I would like to use TObjectList from Contnrs (because it occurs in some Delphi application that I wish to compile with FreePascal). There are two problems: (1) The compiler does not find the unit Contnrs. It turns out that this unit resides i

Re: [fpc-pascal] Optimizer in 2.0

2005-05-31 Thread Peter Vreman
> It shows with useless code like simple nested for .. to loops, but also > with some more useful code like the attached RSA_Angriff from the C'T > magazine. > > My results are with: > > fpc -Sd -OG3rp3 -XX RSA_Angriff_D5.dpr > > 5266 ms > > with: > > fpc -Sd -XX RSA_Angriff_D5.dpr > > 4844 ms > >