Recent

Author Topic: Can I have both 32-bit and 64-bit Lazarus on the same computer?  (Read 6110 times)

Nekoninja

  • New member
  • *
  • Posts: 9
I first installed the 64-bit Lazarus version but wondering if I can also install the 32-bit Lazarus version as well?

Will the fpc-3.0.0-win32.exe interference with the Lazarus?

Thank you for your help,

eny

  • Hero Member
  • *****
  • Posts: 1652
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #1 on: April 09, 2016, 11:01:41 am »
I have the same.
Just set up the shortcut with a different config path (-pcp).
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

Zoran

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #2 on: April 09, 2016, 11:39:55 am »
I have the same.
Just set up the shortcut with a different config path (-pcp).

Yes, as explained here: http://wiki.freepascal.org/Multiple_Lazarus#Solution_for_separating_instances_using_multiple_config_dirs

However, I believe that better and easier solution for Windows is to have only 32-bit Lazarus and compile projects for both 32-bit and 64-bit targets.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12108
  • Debugger - SynEdit - and more
    • wiki
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #3 on: April 09, 2016, 02:52:40 pm »
you can either install 2 Lazarus.

Or you install one, and the cross compiler add on. Then you can create and debug 32 and 64 bit apps from within one lazarus.

Bart

  • Hero Member
  • *****
  • Posts: 5675
    • Bart en Mariska's Webstek
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #4 on: April 09, 2016, 05:23:36 pm »
Or you install one, and the cross compiler add on. Then you can create and debug 32 and 64 bit apps from within one lazarus.

Does that (debugging) actually work sonce you need both 64-bit and 32-bit gdb?

Bart

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #5 on: April 09, 2016, 06:15:49 pm »
I have a setup with gdb statically linked for win32 and use (cygwin64) gdb/mi for win64. No problems at all.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

kapibara

  • Hero Member
  • *****
  • Posts: 656
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #6 on: April 09, 2016, 06:38:11 pm »
You might also want to know that when you hit Run or Compile, 32bit Lazarus & FPC is somewhat faster than the 64bit version. At least this was true when I tested last year.
« Last Edit: April 09, 2016, 06:42:36 pm by kapibara »
Lazarus trunk / fpc 3.2.2 / Kubuntu 24.04 - 64 bit

Nekoninja

  • New member
  • *
  • Posts: 9
Re: Can I have both 32-bit and 64-bit Lazarus on the same computer?
« Reply #7 on: April 13, 2016, 07:56:26 am »
Thank you everyone who replies. Appreciated it very much. :D

 

TinyPortal © 2005-2018