[fpc-pascal] SScanf question

2008-11-30 Thread Gabor Boros
Hi, SScanf('123: aaa :456','%d: %s :%d',[EMAIL PROTECTED],@string1,@integer2]); In this situation string1 is aaa. It is correct. SScanf('123: bbb aaa :456','%d: %s :%d',[EMAIL PROTECTED],@string1,@integer2]); In this situation string1 is bbb. But I need the whole string(bbb aaa). And I don't

Re: [fpc-pascal] How to build 2.2.2-crosscompiler for arm-linux ?

2008-11-30 Thread Joost van der Sluis
Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad Lelong: > Hello, > In the past I built numerous fpc-crosscompilers for arm-linux but now I > can't anymore. > What I did : > Downloaded and extracted fpcbuild-2.2.2.tar.gz > make CPU_TARGET=arm OS_TARGET=linux NOGDB=1 NODOCS=1 c

Re: [fpc-pascal] How to build 2.2.2-crosscompiler for arm-linux ?

2008-11-30 Thread Koenraad Lelong
Joost van der Sluis schreef: > Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad > Lelong: >> Hello, >> In the past I built numerous fpc-crosscompilers for arm-linux but now I >> can't anymore. >> What I did : >> Downloaded and extracted fpcbuild-2.2.2.tar.gz >> make CPU_TARGET

Re: [fpc-pascal] How to build 2.2.2-crosscompiler for arm-linux ?

2008-11-30 Thread Florian Klaempfl
Koenraad Lelong schrieb: > Joost van der Sluis schreef: >> Op zaterdag 29-11-2008 om 19:48 uur [tijdzone +0100], schreef Koenraad >> Lelong: >>> Hello, >>> In the past I built numerous fpc-crosscompilers for arm-linux but now I >>> can't anymore. >>> What I did : >>> Downloaded and extracted fpcbui

Re: [fpc-pascal] number of cpu cores

2008-11-30 Thread Florian Klaempfl
Mattias Gaertner schrieb: > I need a default value of the number of maximum threads. > Is there already some RTL function that can be used for that? > > For example if the program runs on a 2 x quad core it would be nice to > get 8. > Hyperthreading multipliers should be applied. If we implement

Re: [fpc-pascal] number of cpu cores

2008-11-30 Thread Jonas Maebe
On 30 Nov 2008, at 18:15, Florian Klaempfl wrote: Mattias Gaertner schrieb: I need a default value of the number of maximum threads. Is there already some RTL function that can be used for that? For example if the program runs on a 2 x quad core it would be nice to get 8. Hyperthreading mu

Re: [fpc-pascal] fpImage resample via interpolation

2008-11-30 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 28 Nov 2008 15:45:08 +0100 "Vinzent Höfler" <[EMAIL PROTECTED]> wrote: Von: "Mattias Gärtner" <[EMAIL PROTECTED]> I'm curious: who needs more than 13 different image interpolations? 13 different users, of course. ;) That was a rhetorical question, wasn't it?

Re: [fpc-pascal] Starting out with Free Pascal

2008-11-30 Thread Francisco Reyes
Bill writes: I'm absolutely new to this list... and to Pascal. I was getting pretty good with Foxpro programming when MS bought and then changed the Although I have not tried Lazarus, I am not sure it will compare to what you had in Foxpro. My impression is that Foxpro was higher level and