Recent

Author Topic: Lazarus turns to 32 bit  (Read 274 times)

Borneq

  • Full Member
  • ***
  • Posts: 214
Lazarus turns to 32 bit
« on: January 08, 2020, 09:31:22 pm »
First I installed paszlib to compress streams. Was error because was conflict with paszlib od FPC. I renamed units and reinstall Lazarus. I use lazarus-2.0.6-fpc-3.0.4-win64.exe.
But after that:
- not compiled for loop with int64 variable
- error using 64 bit sqlite dll,
I compile sqlite dll as 32 bit and is ok,
but how lazarus-2.0.6-fpc-3.0.4-win64.exe can e 32 bit?

valdir.marcos

  • Hero Member
  • *****
  • Posts: 965
Re: Lazarus turns to 32 bit
« Reply #1 on: January 09, 2020, 04:24:01 am »
First I installed paszlib to compress streams. Was error because was conflict with paszlib od FPC. I renamed units and reinstall Lazarus. I use lazarus-2.0.6-fpc-3.0.4-win64.exe.
But after that:
- not compiled for loop with int64 variable
- error using 64 bit sqlite dll,
I compile sqlite dll as 32 bit and is ok,
but how lazarus-2.0.6-fpc-3.0.4-win64.exe can e 32 bit?
I beg your pardon, but I could not understand what you are trying to do and what is your problem.
Could you elaborate your need a bit more?

Borneq

  • Full Member
  • ***
  • Posts: 214
Re: Lazarus turns to 32 bit
« Reply #2 on: January 09, 2020, 07:53:42 am »
Is any option to change compilation to 32 or 64 bit?

trev

  • Sr. Member
  • ****
  • Posts: 344
  • Former Delphi 7 and Delphi 10.2 User
Re: Lazarus turns to 32 bit
« Reply #3 on: January 09, 2020, 08:27:36 am »
Project > Project Options > Config and Target > Target CPU family

See: https://wiki.freepascal.org/IDE_Window:_Project_Options#Config_and_Target
o Lazarus v2.1.0 r62452, FPC v3.3.1 r42644, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)