Recent

Author Topic: GBD not found after fresh install  (Read 1982 times)

sduford

  • Newbie
  • Posts: 1
GBD not found after fresh install
« on: July 25, 2017, 10:12:11 pm »
Hi guys, I'm new to Lazarus.

After installing the latest packages on my Mac with the latest version of Sierra when I open Lazarus it says it cannot find GDB. I searched and looked everywhere and cannot find it on my machine.

I uninstalled and reinstalled again and same problem...

Did I miss a step? Do I have to separately install or compile GDB?

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: GBD not found after fresh install
« Reply #1 on: July 25, 2017, 10:16:12 pm »
You have to install GDB.
Specialize a type, not a var.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: GBD not found after fresh install
« Reply #2 on: July 25, 2017, 10:48:42 pm »
Did I miss a step? Do I have to separately install or compile GDB?

Try this, keeping in mind that the reports are mixed on whether people get gdb running correctly on Sierra. I don't even bother trying.

https://www.freepascal.org/~michael/articles/lazonmac/lazonmac.pdf

Apple moved away from gcc/gdb years ago and now include llvm/lldb with Xcode. You can also export your Lazarus project to Xcode and debug your Lazarus app in Xcode with lldb:

https://macpgmr.github.io/ObjP/ProjectXC.html


 

TinyPortal © 2005-2018