Page 1 of 1

OSX config

Posted: Sun Jan 19, 2014 8:49 pm
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

Re: OSX config

Posted: Mon Jan 20, 2014 12:04 am
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

Re: OSX config

Posted: Mon Jan 20, 2014 12:48 am
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

Re: OSX config

Posted: Mon Jan 20, 2014 1:08 am
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