Page 1 of 1

Codelite on Mac problem with gdb

Posted: Thu Jun 21, 2012 5:36 pm
by mandena1
Hello,
I'm new to Codelite. I installed it on my mac and I tried the classical "helloworld" example but it doesn't run
because It says It couldn't locate gdb at gdb...
Can you please help me to solve this issue??

Thanks

Marco

Re: Codelite on Mac problem with gdb

Posted: Thu Jun 21, 2012 6:25 pm
by eranif
Do you have gdb installed?

Re: Codelite on Mac problem with gdb

Posted: Thu Jun 21, 2012 6:33 pm
by mandena1
How can i check it?
I have istalled the Xcode 4.3.1, gdb is not included in the installation?
----------------------------------------------------------------------------------------------

Edit: I downloaded the latest gdb 7.4.tar.gz and "unzipped" in the documents folder.
Now I have Codelite to point to this directory? How can i do this?

Re: Codelite on Mac problem with gdb

Posted: Thu Jun 21, 2012 7:38 pm
by mandena1
Solved, It seems that all my problem are due to the fact that i haven't the "Xcode Command Line Tools"
installed on my Mac.
Once i installed them the code compiles and i was able to run the example in Codelite.