OSX config

CodeLite installation/troubleshooting forum
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

OSX config

Post by petah »

Hi Eran,

I'm on OSX 10.8, do you recommend upgrading to 10.9 to use CL & write wx trunk apps?

Apple's GDB-related docs are in the "retired documents" section of their site, apparently it's no longer supported (lldb is installed by defaut). Do you recommend installing gdb with:

Code: Select all

brew info homebrew/dupes/gdb
?
should I install other tools before like gcc?

I'm confused by CL's handling of keyboard shortcut modifiers; are CMD and CTRL logically the same?

ps: I had a custom-built CL last week-end but then fried the Mac trying to silence the fan, so this is the stock CL version

thx & cheers,

-- p
main: Debian Jessie x64 + custom wxTrunk
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: OSX config

Post by eranif »

petah wrote:I'm on OSX 10.8, do you recommend upgrading to 10.9 to use CL & write wx trunk apps
There are reports about OSX 10.9 crashes and other misbehaves with wxWidgets, I would stay on 10.8 for a while
petah wrote:I'm confused by CL's handling of keyboard shortcut modifiers; are CMD and CTRL logically the same?
It wxWidgets that does that. Basically, it maps all CTRL to CMD (for example, CMD-C, CMD-X, CMD-V etc)
So yes, use CMD instead of CTRL on Mac
Eran
Make sure you have read the HOW TO POST thread
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: OSX config

Post by petah »

I would stay on 10.8 for a while
Ok.

Does CL do some basic checks about the header paths it expects to see on the volume? I installed Xcode + command-line tools but don't have a /Developer path; all the headers are in:

Code: Select all

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
where CL apparently can't access them (can't compile C++11, f.ex). I can't tell if installing Xcode is really such a pain: http://cocoabob.net/?p=1032

thx & cheers,

-- p
main: Debian Jessie x64 + custom wxTrunk
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: OSX config

Post by petah »

I think I found it:

https://developer.apple.com/library/ios ... 3i-CH1-SW1

* scratch that; apparently Homebrew's clang version is getting in the way:
http://stackoverflow.com/questions/1411 ... n-osx-lion
You are not using the system clang, you're using the homebrew clang. For whatever reason, it's looking for libc++ at /usr/include/c++/v1, which is the location they recommend to install it on linux. On OS X, it's stored in /usr/lib/c++/v1, which is where the system clang would look
- p
main: Debian Jessie x64 + custom wxTrunk
Post Reply