C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)
jralls at ceridwen.us
Sat Jan 25 18:57:29 EST 2014
On Jan 25, 2014, at 2:34 PM, Mike Alexander <mta at umich.edu> wrote:
> --On January 25, 2014 2:16:03 PM -0800 John Ralls <jralls at ceridwen.us> wrote:
>> It’s a little more complicated on Macs; the latest GCC is 4.2, and
>> while clang will happily compile C++11, I don’t think gcc-4.2 will
>> and the 10.5 SDK won’t compile with llvm-gcc, never mind clang. I
>> haven’t tested the 10.6 SDK; there was one included in Xcode 4.4
>> (the one for OSX 10.7) but not 4.6; Xcode 5 doesn’t provide
>> llvm-gcc, and I haven’t tested it with any of the older SDKs.
>> It might be possible to build gcc-4.8 and compile against the 10.5
>> SDK, I’ll have to try that.
> You can also install other versions of gcc using MacPorts. I'm currently using gcc 4.7 to build Gnucash (and other things). I haven't installed gcc 4.8 or 4.9 but both are available with MacPorts. I probably should switch to 4.8 at some point.
Ah, that’s useful to know. IIRC you’re on 10.6.8; I imagine that you’re building against the native libs and headers in /usr and frameworks in /System/Library rather than against an SDK. Is that right?
More information about the gnucash-devel