Jump to content

MaNGOS with Clang


Guest Skirnir

Recommended Posts

maybe I was a bit to optimistic, needs some more love

I did some more testing. I was fooled due to running make CC=clang CCX=clang++ after cmake creation. Currently compilation does not work. For more information have a look at: http://getmangos.eu/wiki/Compile_MaNGOS_with_Clang

original post

Sometimes you wake up and do things you didn't plan to do. Something like this happened today. I was doing some MaNGOS stuff, updating my scripts, compiling a new core, etc. when I thought hm the Linux Kernel can be compiled with Clang, what about MaNGOS+SD2?

Installed Clang, replaced "make" with "clang" and waited. Compiling works, what about running? Running works (login and walking around, later we'll see about the rest) :)

Regards

Skirnir

PS:

I used this "cmake" command, so I didn't build ACE and Intel TBB.

cmake ../ -DPREFIX=/opt/clangmangos -DPCH=1 -DACE_USE_EXTERNAL=1 -DDEBUG=1 -DTBB_USE_EXTERNAL=1

PPS:

On archlinux x86_64 with mangos master [11629]

clang -v
clang version 2.9 (tags/RELEASE_29/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Information:

Clang on wikipedia: http://en.wikipedia.org/wiki/Clang

Clangs website: http://clang.llvm.org/

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use