Recent

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

Borneq

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

  • Hero Member
  • *****
  • Posts: 736
  • Former Delphi 1-7 and 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 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

 

TinyPortal © 2005-2018