Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-10

flaky Win64 support in FPC?

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Could anybody using 64bit FPC under Windows comment on this? I'm only now able to setup 64bit FPC under Linux, but haven't had the opportunity to run 64bit Windows and FPC for that matter. I thought 64bit support in FPC was done and dusted? [for Linux and Windows at least]

Earlier message 35 lines
-------- Original Message -------- Subject: Re: 64-bit or multi-threading in D2010 Date: Tue, 14 Oct 2008 19:47:30 -0700 From: invar brass Newsgroups: embarcadero.public.delphi.non-technical References: 64bit is not only about accessing more than 4gb memory (which you can also do on a 32bit system... using the win32 AWE APIs). I for one desperately need a native 64bit pascal compiler. I can't use my ISAPIs on 64bit IIS7 (or even IIS6) for that matter. I can't use 64 bit DLLs in my project. I can't do 64-bit shell stuffs with my delphi. In fact, ever since I had upgraded to a 64bit PC, I've been feeling a little crippled as a delphi developer. I know FPC has a win64 compiler. But it's not quite ready for primetime use. Just last month I had to cancel my Win64 VPS hosting after a frustrating struggle with FPC-Win64. FPC-64 compiler can do basic 64 bit stuffs, but anything more complicated and you'll have trouble. I was able to compile my IOCP-based server with FPC/64, but the app crashes soon after it starts. And I don't have the slightest idea where to start hunting for bugs. FPC does produce 64-bit apps, but it may not be the ideal solution fo r critical apps. -----------------------[ end ]-------------------------- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Florian Klaempfl
to Graeme Geldenhuys
Show quoted text 7 lines
Hi, Could anybody using 64bit FPC under Windows comment on this? I'm only now able to setup 64bit FPC under Linux, but haven't had the opportunity to run 64bit Windows and FPC for that matter. I thought 64bit support in FPC was done and dusted? [for Linux and Windows at least]

FPC Win64 works well, I don't know about serious bugs, I consider the post as typical non-technical flame. If somebody has no clue how to debug his code, he should better stop coding. Of course, it could be that there is some bug in fpc win64 but it could be also a simple pointer(<longint>)^ in his code. Without a usable bug report I can't take such posters serious.

Show quoted text 40 lines
-------- Original Message -------- Subject: Re: 64-bit or multi-threading in D2010 Date: Tue, 14 Oct 2008 19:47:30 -0700 From: invar brass Newsgroups: embarcadero.public.delphi.non-technical References: 64bit is not only about accessing more than 4gb memory (which you can also do on a 32bit system... using the win32 AWE APIs). I for one desperately need a native 64bit pascal compiler. I can't use my ISAPIs on 64bit IIS7 (or even IIS6) for that matter. I can't use 64 bit DLLs in my project. I can't do 64-bit shell stuffs with my delphi. In fact, ever since I had upgraded to a 64bit PC, I've been feeling a little crippled as a delphi developer. I know FPC has a win64 compiler. But it's not quite ready for primetime use. Just last month I had to cancel my Win64 VPS hosting after a frustrating struggle with FPC-Win64. FPC-64 compiler can do basic 64 bit stuffs, but anything more complicated and you'll have trouble. I was able to compile my IOCP-based server with FPC/64, but the app crashes soon after it starts. And I don't have the slightest idea where to start hunting for bugs. FPC does produce 64-bit apps, but it may not be the ideal solution fo r critical apps. -----------------------[ end ]-------------------------- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Graeme Geldenhuys
to Florian Klaempfl
Florian Klaempfl wrote
FPC Win64 works well, I don't know about serious bugs, I consider the post as typical non-technical flame. If somebody has no clue how to debug his code, he should better stop coding.

That was my first thought as well...

that there is some bug in fpc win64 but it could be also a simple pointer(<longint>)^ in his code. Without a usable bug report I can't take such posters serious.

I did reply to his post and asked if he submitted a bug report. And mentioned that the FPC developers cannot fix what they don't know about. :-)

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: Could anybody using 64bit FPC under Windows comment on this? I'm only now able to setup…
Graeme Geldenhuys wrote 7 lines
Hi, Could anybody using 64bit FPC under Windows comment on this? I'm only now able to setup 64bit FPC under Linux, but haven't had the opportunity to run 64bit Windows and FPC for that matter. I thought 64bit support in FPC was done and dusted? [for Linux and Windows at least]

Given that I work exclusively with FPC/lazarus 64-bit since years, and it is working extremely stable, It's quite likely that the poster has some bug in his own code which is not 64-bit safe.

If he thought it was a simple matter of recompiling his code, he's very much mistaken. Such posts are not to be taken seriously.

Michael.

Reply by email

Joost van der Sluis
to Graeme Geldenhuys: Could anybody using 64bit FPC under Windows comment on this? I'm only now able to setup…

Op woensdag 15-10-2008 om 09:50 uur [tijdzone +0200], schreef Graeme Geldenhuys:

Show quoted text 9 lines
I know FPC has a win64 compiler. But it's not quite ready for primetime use. Just last month I had to cancel my Win64 VPS hosting after a frustrating struggle with FPC-Win64. FPC-64 compiler can do basic 64 bit stuffs, but anything more complicated and you'll have trouble. I was able to compile my IOCP-based server with FPC/64, but the app crashes soon after it starts. And I don't have the slightest idea where to start hunting for bugs. FPC does produce 64-bit apps, but it may not be the ideal solution fo r critical apps.

Most probably he thought that converting to 64-bit is done by just switching to a 64-bit compiler. But his code has to be 64-bit safe. So don't cast integers to pointers, but use PtrInt and such. If he comes from a Delphi background, he may not to be used to this.

Joost.

Reply by email

Marco van de Voort
to Florian Klaempfl: FPC Win64 works well, I don't know about serious bugs, I consider the post as typical…

In our previous episode, Florian Klaempfl said:

Show quoted text 9 lines
> 64bit support in FPC was done and dusted? [for Linux and Windows at > least] FPC Win64 works well, I don't know about serious bugs, I consider the post as typical non-technical flame. If somebody has no clue how to debug his code, he should better stop coding. Of course, it could be that there is some bug in fpc win64 but it could be also a simple pointer(<longint>)^ in his code. Without a usable bug report I can't take such posters serious.

It could also be that he used 2.2.0 and tried to allocate more than 2GB.

But indeed, the language is nonconstructive, and the amount of info is zero.

Reply by email

Graeme Geldenhuys
to Joost van der Sluis: Op woensdag 15-10-2008 om 09:50 uur [tijdzone +0200], schreef Graeme Geldenhuys: Most…
Joost van der Sluis wrote 5 lines
Most probably he thought that converting to 64-bit is done by just switching to a 64-bit compiler. But his code has to be 64-bit safe. So don't cast integers to pointers, but use PtrInt and such. If he comes from a Delphi background, he may not to be used to this.

Thanks to everybody for replying so promptly. I sent the original author another message explaining that his program must be made 64-bit safe. As far as I can tell, he comes from a 32-bit Delphi background and probably doesn't know better. I simply wanted to prevent him from spreading inaccurate information about FPC.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email