On Fri, 13 Dec 2013, Joachim Strömbergson wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Aloha!
Martin Storsjö wrote:
Just for what it's worth - I've been using nettle on OS X and it has worked just fine up including the 2.7 release.
Thanks for responding! What happens if you clone the repo, do the bootstrap-configure-make dance with the current repo?
I do run into the same issues as you - sorry for not making that clearer.
And what version of OSX and Xcode, command line tools are you running?
I'm using 10.8.5, xcode 5.0 - dunno where I see the version of the command line tools.
It's indeed an old version forked from binutils, heavily patched and maintained by Apple since, but it's diverged pretty much from most things that have been added since.
Well - this is the stock compiler toolchain that you get with the system - the vast majority of developers on OS X use that instead of building their own toolchains. As said before, all previous releases of nettle have worked just fine on OS X.
In my experience, things normally do unless very Linux specific or GNU specific. Since gcc in Xcode is actually a wrapper around clang/llvw.
Well - hand-written assembly is one of the more problematic parts indeed. For x86 assembly, some other projects use nasm/yasm, but for non-x86, most projects end up with more elaborate tools for converting the gas source to something that the apple version of it can handle, such as https://github.com/libav/gas-preprocessor. But I'm pleasantly surprised by how well it has worked with nettle so far without requiring any external tools.
// Martin