Recent

Author Topic: Compiling lazarus  (Read 4769 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4096
  • I like bugs.
Re: Compiling lazarus
« Reply #15 on: January 18, 2022, 09:09:12 am »
FPC is in $PATH after installing Lazarus 2.2, right? In your GitLab main directory run "make clean all" or "make clean bigide". Then start Lazarus.exe from the cmd line.
Build it again from Lazarus Tools menu with all the debug flags. There is a "Debug IDE" profile to choose.
You can choose more packages to install before building.
Don't copy any directories from the 2.2 release.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

duzenko

  • New Member
  • *
  • Posts: 22
Re: Compiling lazarus
« Reply #16 on: January 18, 2022, 10:43:31 am »
FPC is in $PATH after installing Lazarus 2.2, right?
No, do I need to add it to PATH?
I've been running it with full path to make.exe, i.e.
Code: Pascal  [Select][+][-]
  1. C:\dev\lazarus22\fpc\3.2.2\bin\i386-win32\make

duzenko

  • New Member
  • *
  • Posts: 22
Re: Compiling lazarus
« Reply #17 on: January 18, 2022, 10:46:52 am »
Anyway, I was able to resolve it with checking the clean checkbox in Lazarus GUI
And breakpoints worked after I switched to debug profile

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4096
  • I like bugs.
Re: Compiling lazarus
« Reply #18 on: January 18, 2022, 03:03:30 pm »
No, do I need to add it to PATH?
I've been running it with full path to make.exe, i.e.
Code: Pascal  [Select][+][-]
  1. C:\dev\lazarus22\fpc\3.2.2\bin\i386-win32\make
The Makefiles call fpc. It must be in PATH. Then also "make" and some scripts are found without specifying the full path.
The Lazarus installer sets the PATH if I remember right. At least it should.
I use Windows only seldom myself. I am not sure.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018