C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)
Mike Alexander
mta at umich.edu
Sat Jan 25 17:34:34 EST 2014
--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.
Mike
More information about the gnucash-devel
mailing list