FPC & CPU64

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

hgourvest
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 21.05.2008, 08:34
Contact:

FPC & CPU64

Postby hgourvest » 21.05.2008, 08:41

I would like to know if ZeosLib is planed to work on FPC64 (Linux and windows). especially with firebird and oracle.

regards
henri

User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Postby mdaems » 21.05.2008, 09:11

Bonjour Henri,

Does this mean it doesn't work with FPC64? Normal FPC is working right, so what changes should be done to get it working on 64 bit machines?
I suppose you already have the right dll's available on your machine. Are they available for FB 10 and oracle9/10?

Mark
Image

hgourvest
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 21.05.2008, 08:34
Contact:

Postby hgourvest » 21.05.2008, 10:09

Bonjour ;)

I have not yet tried to compile ZeosLib with FPC64, because I allready found many unsafe code, so it should not work on FPC64.

For example, there is many code transtyping pointer to integer, the correct way should be to use the PtrInt data type instead.
{$ifndef FPC}
PtrInt = Longint;
{$endif}

ex:
- inc(Integer(ptr))
should be
- inc(PtrInt(ptr))

concerning Firebird, ISC_STATUS should be PtrInt.

FPC compiler output many messages when trying to compile a 64bits unsafe code, so it is not a so hard task :) I allready made my own firebird connector (UIB) working with FPC64, and most of time I spend was testing!

Firebird 64bit libraries are availables for win64 and linux64
http://sourceforge.net/project/showfile ... up_id=9028.
I don't know anything about Oracle 64 bits, for one of my customers I need to use ZeosLib + firebird + oracle + FPC64, this is why i am here ...

henri


Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest