Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to run clang & clang-modernize

$
0
0

(I'm cross posting this with the channel9.msdn.com coffee house forum because I'm not sure that is the most appropriate forum).

clang and clang-modernize look like some very cool (and free!) tools for analyzing and manipulating C++ source code.

I loved http://channel9.msdn.com/Events/GoingNative/2013/The-Care-and-Feeding-of-C-s-Dragons. They discuss these very cool tools and I am dying to try reproducing the demos.

How do I run clang  and clang-modernize?

(1) I've tried the Cygwin version of clang but it is having problems understanding where my include files are.

(2) clang-modernize seems to be missing from Cygwin. I tried downloading and compiling the source but it does not compile on cygwin/windows8. Converting the CRLFs to LFs helped but did not solve all the compilation errors.

(3) I tried using hyperv to set up a Ubuntu and download clang-modernize. clang-modernize does run but dies immediately with a missing dependency.

(4) I tried using hyperv to set up debian but I cannot figure out how to configure debian to see my network card so I cannot download clang. Ubuntu did not have this problem.

 Anyone have some other ideas for configuring and running clang and clang-modernize?

 Thanks

Siegfried


siegfried heintze


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>