Hi guys,
This is mostly for pluggulp.
I compile witty with clang++.
The easiest way to do it is to just install ubuntu Raring 13.04.
Then you can run:
apt-get install clang-3.2 cmake-curses-gui
update-alternatives --set c++ /usr/bin/clang++
----
Then in your Wt's build directory:
ccmake .
you can then hit: 't' to toggle advanced options
then '/CXX' to search for the c++ compiler.
If you want you can change it to /usr/bin/clang++ .. but I just leave it as
/usr/bin/c++ .. with the update-alternatives that's all you need.
-----
People said that you need a special linker. I don't think that's true. You
just use the normal gnu ld.
There is however an llvm-ld plugin. That enables you to use -O4 on the
compiler, to enable link time optimization.
This plugin worked on ubuntu with clang 3.0 but is currently not working.
As I don't need this level of optimization right now, I'm just waiting for
it to get fixed again in ubuntu.
-----
I hope this helps some people. All comments and questions appreciated.
Kind Regards,
Matthew Sherborne
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest