Recent

Author Topic: is it better to use 64 bit IDE or 32 bit now days?  (Read 5308 times)

mas steindorff

  • Hero Member
  • *****
  • Posts: 532
is it better to use 64 bit IDE or 32 bit now days?
« on: March 17, 2019, 01:16:04 am »
In the past, it was recommend that coders use the win32 with the win64 cross build option instead of the 64 bit IDE.
Is that still true?
I build for both targets but I finally was able to track down a memory release bug when I used the 64 bit target option as it gave me more info with line numbers.
If the 64 bit cross build helped me there, would it be better if I used the 64 bit IDE with the 32 bit cross builder?
FYI: I'm limited to the Lazarus 2.0 releases by management at this time.
windows 10 &11, Ubuntu 21+ - fpc 3.0.4, IDE 2.0 general releases

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #1 on: March 17, 2019, 02:38:34 am »
If you can only use the release versions of both Lazarus and FPC (more so FPC), and you need to compile both x86 and x64 apps, then you are going to find it better to install the 32-bit version of both, with the 64-bit cross-compile edition.

The reason for my advice is that you need at least FPC 3.2 Fixes or Trunk to be able to get the floating point support that will enable you to do a 64-bit install and the 32-bit cross compile.

See this thread where I asked about this a few weeks back:

http://forum.lazarus-ide.org/index.php?topic=44168.msg310217#msg310217

I went 64-bit by using the fixes versions of both FPC and Lazarus.
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

mas steindorff

  • Hero Member
  • *****
  • Posts: 532
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #2 on: March 17, 2019, 07:47:39 pm »
Thanks ASBzone, 
I see my original search was too limited to find this link. Will use that thread for future comments.  It looks like  some knowledgeable people have given their input on it already.
windows 10 &11, Ubuntu 21+ - fpc 3.0.4, IDE 2.0 general releases

BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #3 on: March 17, 2019, 10:29:38 pm »
You could also use the 32 bit IDE twice

Kays

  • Hero Member
  • *****
  • Posts: 569
  • Whasup!?
    • KaiBurghardt.de
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #4 on: March 17, 2019, 11:18:54 pm »
You could also use the 32 bit IDE twice
or use the average of both, 48 bits.
Yours Sincerely
Kai Burghardt

mas steindorff

  • Hero Member
  • *****
  • Posts: 532
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #5 on: March 17, 2019, 11:41:10 pm »
that's all and fine and dandy but the real target as we know would be 42 bit.  just have to settle for 64 bit for now
windows 10 &11, Ubuntu 21+ - fpc 3.0.4, IDE 2.0 general releases

440bx

  • Hero Member
  • *****
  • Posts: 3946
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #6 on: March 18, 2019, 02:58:42 am »
that's all and fine and dandy but the real target as we know would be 42 bit.  just have to settle for 64 bit for now
no... it has to be a prime target... either 31 or 61 bits. 
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: is it better to use 64 bit IDE or 32 bit now days?
« Reply #7 on: March 18, 2019, 03:45:15 am »
that's all and fine and dandy but the real target as we know would be 42 bit.  just have to settle for 64 bit for now


LOL
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

 

TinyPortal © 2005-2018