Quote:
Originally Posted by lerxst2112
clang should be relatively up to date depending on which version of Xcode you have installed.
|
This has Xcode 5 on it.
I've gone ahead and installed the Mac Ports version of gcc 4.8. After configuring cmake to point to the right dylibs for mysql and pointing the compilers to /opt/local, things chug along nicely up to shared_memory with only one source change. I needed to redefine MSG_NOSIGNAL to SO_NOSIGPIPE in common/TCPConnection.cpp (just like the FREEBSD change to map it to 0).
Shared memory is asking for librt.a, which Macs don't have. I've fixed that by adding an OS test in the CMakeList.txt files.
At this point, these compile:
common
shared_memory
world
zone
ucs
queryserv
eqlaunch
azone_common
awater
azone
listobj
cppunit
tests
loginserver needs libEQEmuAuthCrypto.a, which I don't know where to find the source for.
luabind doesn't compile with a long list of errors I haven't looked at yet.