Recent

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

mas steindorff

  • Sr. Member
  • ****
  • Posts: 417
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 7/10 - laz 2.0 / 1.2.6 general releases

ASBzone

  • Full Member
  • ***
  • Posts: 226
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
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.0.3 r61485 / FPC v3.2.0-beta-r42306 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 1903 (Build 18362.116)
Other Systems: Windows 10 Pro x64, Version 1809 or greater

mas steindorff

  • Sr. Member
  • ****
  • Posts: 417
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 7/10 - laz 2.0 / 1.2.6 general releases

BeniBela

  • Hero Member
  • *****
  • Posts: 678
    • 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

  • Full Member
  • ***
  • Posts: 167
  • 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

  • Sr. Member
  • ****
  • Posts: 417
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 7/10 - laz 2.0 / 1.2.6 general releases

440bx

  • Hero Member
  • *****
  • Posts: 946
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. 
using FPC v3.0.4 and Lazarus 1.8.2 on Windows 7 64bit.

ASBzone

  • Full Member
  • ***
  • Posts: 226
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
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.0.3 r61485 / FPC v3.2.0-beta-r42306 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 1903 (Build 18362.116)
Other Systems: Windows 10 Pro x64, Version 1809 or greater