Recent

Author Topic: 64-bit Wndows download ??  (Read 5891 times)

Ignorant

  • New member
  • *
  • Posts: 9
64-bit Wndows download ??
« on: April 25, 2015, 06:18:16 pm »
Hi all,

I intend to start using FreePascal very soon, and I prepared for it by downloading it...

I am using Windows 7 64-bit, core i5 or i7.  I wish take advantage of 64-bit capability of my computer.

For download, therefore, I chose the x386 32bit, 64bit or CE option, which directed me to sourceforge, where the download of fpc-2.6.4-i386-win32.exe was completed...this file looks suspiciously like it will install a 32-bit version.

Is this the case ?  How do I get the 64-bit version (is there a working 64-bit version ?) ?

Ignorant
25.April.2015

BitBangerUSA

  • Full Member
  • ***
  • Posts: 183
Re: 64-bit Wndows download ??
« Reply #1 on: April 25, 2015, 06:24:01 pm »
see the 4th link at
http://forum.lazarus.freepascal.org/index.php/topic,28126.0.html


Edit - I misunderstood as well. 64 bit Windows FPC does not equate to 64 bit Windows Lazarus.
« Last Edit: April 27, 2015, 05:26:43 am by BitBangerUSA »
Lazarus Ver 2.2.6 FPC Ver 3.2.2
Windows 10 Pro 64-bit

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: 64-bit Wndows download ??
« Reply #2 on: April 25, 2015, 09:59:21 pm »
@Ignorant You got the 32 bit version on purpose. For Windows, it is recommended to use Lazarus 32 also on 64 bit systems for now, because the released version of FPC lacks support for SEH (or whatever its called). But if you compile Lazarus with FPC 64 bits 2.7 or above you will get what you want. I have been running Lazarus 64 for like a year and see no difference from the 32 version. To do that you need some help the first time.

My advice is to either use Lazarus 32 until there is a real need for 64 bit. Or ask us to walk you through the 64 bit installation if you need to get started now.
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

Ignorant

  • New member
  • *
  • Posts: 9
Re: 64-bit Wndows download ??
« Reply #3 on: April 25, 2015, 10:46:11 pm »
Thank you gentlemen. 

That seems pretty clear...

when I install (run the exe file fpc-2.6.4.i386-win32.exe) does it install the Lazarus IDE automatically ?

Do I even want "64-bit executables" to achieve the object stated in my first post ??  and if I do, what do I cross-compile from and to ?

Having asked those questions I'll go for the 'easy' route for now and see if I can even get that working.  Seems a waste though, my XP system could have run 32-bit, although the CPU on that is not nearly as powerful as on my W7 systems.

Ignorant
25.April.2015

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: 64-bit Wndows download ??
« Reply #4 on: April 26, 2015, 12:12:34 pm »
Sorry, I misunderstood and thought you asked about Lazarus 64 when you actually only want FreePascal 64.

fpc-2.6.4.i386-win32.exe is a standalone fpc installation without Lazarus.

To answer your original question, there is no released FPC 64. That doesn't mean you cant have it. If you install Lazarus 64, it contains FPC 64 compiled by the Lazarus team. Remember the warning about missing SEH support though.

http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%201.4/

I get around the SEH issue by downloading the trunk sources of FPC and compile it with the FPC 64 that comes with Lazarus 64. The result is FPC 3.1.1 64 bit with SEH support.

Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: 64-bit Wndows download ??
« Reply #5 on: April 26, 2015, 01:04:04 pm »
To answer your original question, there is no released FPC 64.

There are no FPC issued 64-bit hosted releases, but there are win32->win64 and win32->wince FPC released crosscompilers. Most releases follow these.

Besides that there are various and trial versions of win64, but using the 2.6.x branch, a 64-bit Lazarus doesn't make much sense in practice, since any explorer plugin can cause the file->open dialog to crash because of SEH.


Eugene Loza

  • Hero Member
  • *****
  • Posts: 663
    • My games in Pascal
Re: 64-bit Wndows download ??
« Reply #6 on: April 28, 2015, 09:04:20 am »
64 bit lazarus compiles 64 bit executables.
32 bit lazarus compiles 32 bit executables.
32 bit executables run fine on 64 bit systems, while 64 bit executables don't run on 32 bit systems.
So, unless you really need to use 64 bit (i.e. you need over 2G of memory for the application), you should stick with 32 bit as being more universal for now.
I'm not sure if there is any efficiency increase in using native 64 bit code.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

Ignorant

  • New member
  • *
  • Posts: 9
Re: 64-bit Wndows download ??
« Reply #7 on: April 30, 2015, 10:42:00 pm »
Thank you everybody for your answers.  Doubtless I shall be needing them again.

30.April.2015

 

TinyPortal © 2005-2018