[fpc-pascal] msedb and fcl-db benchmarks

2007-07-16 Thread Joost van der Sluis
Hi all, To see what the differences in speed are between MSEdb and fcl-db I did some benchmarks. (See the attachment for the code and results) I think that the first conclusion is that when it comes to executing queries, opening connections to the database and such, the 'real sql- work' there's n

[fpc-pascal] Asking about Win units?

2007-07-16 Thread Irawan Tanudirdjo
Dear all, Today, when I try to use Windows Common Control in FPC, well I got error, and when I check in FPC installation folder, I cannot found the implementation for CommCtrl.o or CommCtrl.pp either. And also in last week email, someone mentioned that WinSpool is not implemented too. Is it true,

[fpc-pascal] Some questions about fpc.cfg

2007-07-16 Thread josepascual
Hi Everyone, How can I used #IFDEF to check which is the Fpc Release (something like #IFDEF FPC_RELEASE=4)? I have several version of fpc (2.1.4, 2.1.5, 2.3.1) and fpc.cfg is different in each case. how can I check it? or, Is there any form to use a #IFDEF in fpc.cfg if compiler where build with

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-16 Thread Martin Schreiber
On Monday 16 July 2007 13.50, Joost van der Sluis wrote: > On Sun, 2007-07-15 at 16:05 +0200, Martin Schreiber wrote: > > On Sunday 15 July 2007 13.06, Joost van der Sluis wrote: > > > On Sun, 2007-07-15 at 07:24 +0200, Martin Schreiber wrote: > > > > I needed to use my own TField descendants becau

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Felipe Monteiro de Carvalho wrote: Since we are on the topic, I've been using Parallels Desktop for Mac with a lot of success. It's pretty cheap, and you have 2 weeks to see if you want to buy it. They have some bugs when running Linux, but their Windows support is incredible. Windows seams to ac

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Felipe Monteiro de Carvalho
Since we are on the topic, I've been using Parallels Desktop for Mac with a lot of success. It's pretty cheap, and you have 2 weeks to see if you want to buy it. They have some bugs when running Linux, but their Windows support is incredible. Windows seams to actually work better and faster then i

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Vincent Snijders: > Daniël Mantione schreef: > > > > Op Mon, 16 Jul 2007, schreef Adriaan van Os: > > > > > and hello.exe actually runs at the other side of the fence. > > > > Note that you can install Wine (I'm not sure though how the Darwin port > > hasprogresse

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Vincent Snijders
Daniël Mantione schreef: Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a Window

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Adriaan van Os: > and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a Windows computer and you only ne

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Daniël Mantione wrote: Op Mon, 16 Jul 2007, schreef Adriaan van Os: /usr/local/lib/fpc/2.3.1/units/i386-win32/rtl install: ../../rtl/units/i386-win32/rtlconsts.ppu: No such file or directory make: *** [fpc_install] Error 71 Most of the win32 rtl is built by a build unit called buildrtl.pp i

Re: [fpc-pascal] Freepascal IDE for MacOSX/x86

2007-07-16 Thread Jonas Maebe
On 15 Jul 2007, at 07:43, Weyert de Boer wrote: I am trying to get the lightweight freepascal e.g. fpide working under MacOSX. Only I am not getting it compiled! Does anyone know of a place where this IDE is precompiled? http://pascal-central.com/lwp/lightweight.html Jonas __

Re: [fpc-pascal] Master Detail relationship in SQLdb

2007-07-16 Thread Joost van der Sluis
On Sun, 2007-07-15 at 16:05 +0200, Martin Schreiber wrote: > On Sunday 15 July 2007 13.06, Joost van der Sluis wrote: > > On Sun, 2007-07-15 at 07:24 +0200, Martin Schreiber wrote: > > > I needed to use my own TField descendants because I can not modify > > > db.pp . > > > > Huh? Why can't you? You

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Adriaan van Os: > /usr/local/lib/fpc/2.3.1/units/i386-win32/rtl > install: ../../rtl/units/i386-win32/rtlconsts.ppu: No such file or directory > make: *** [fpc_install] Error 71 Most of the win32 rtl is built by a build unit called buildrtl.pp in the directory rtl/

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Daniël Mantione wrote: Op Mon, 16 Jul 2007, schreef Adriaan van Os: Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ? Yes, you don't need a cross-compiler to cross-compile to different operating systems. With FPC 2.1.4+ you don't need binuti

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Daniël Mantione
Op Mon, 16 Jul 2007, schreef Adriaan van Os: > Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac > ? Is this supported ? Yes, you don't need a cross-compiler to cross-compile to different operating systems. With FPC 2.1.4+ you don't need binutils either to cross-co

[fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Adriaan van Os
Has anyone tried to build a Free Pascal Windows crosscompiler on an Intel Mac ? Is this supported ? First I built and mingw binutils and then I tried [p17:~/fpc-win32/fpc] adriaan% make all OS_TARGET=win32 CROSSBINDIR=/usr/bin BINUTILSPREFIX=i686-ming32- INSTALL_PREFIX=/usr/local make compile

Re: [fpc-pascal] What should I use for ARM EABI?

2007-07-16 Thread Henry Vermaak
On 16/07/07, josepascual <[EMAIL PROTECTED]> wrote: Hi everyone, I can build fpc for arm 2.2 (ver 2.1.5) and I can build 2.3.1 for with "-Ce -CfSOFT" options. I have a board with a ARM EABI systems, and I'd like to develop some programs with freepascal for ARM. Which should I use 2.2_beta or 2

[fpc-pascal] What should I use for ARM EABI?

2007-07-16 Thread josepascual
Hi everyone, I can build fpc for arm 2.2 (ver 2.1.5) and I can build 2.3.1 for with "-Ce -CfSOFT" options. I have a board with a ARM EABI systems, and I'd like to develop some programs with freepascal for ARM. Which should I use 2.2_beta or 2.3.1? Is softfloat implemented in both solution? or m