Windows Codeblocks clang 3.7.0

Source: Internet
Author: User

Reference http://clang.llvm.org/get_started.html

Using Visual Studio to compile the VS version of Clang, you can use the debug version or release version

Debug version 7G more, release version 887M

Join the computer path

Then open the VS2012 Developer command prompt, echo%path% get vs Native environment

I have the following:

E:\Program Files\Microsoft Visual Studio 11.0\common7\ide\commonextensions\microsoft\testwindowc:\program Files (x86 ) \microsoft Sdks\f#\3.0\framework\v4.0e:\program Files\Microsoft Visual Studio 11.0\common7\idee:\program Files\ Microsoft Visual Studio 11.0\vc\bine:\program Files\Microsoft Visual Studio 11.0\common7\toolsc:\windows\ Microsoft.net\framework\v4.0.30319c:\windows\microsoft.net\framework\v3.5e:\program Files\Microsoft Visual Studio 11.0\vc\vcpackagesc:\program Files (x86) \html help workshope:\program Files\Microsoft Visual Studio 11.0\team Tools\ Performance Toolsc:\program files (x86) \ Windows Kits\8.0\bin\x86c:\program files (x86) \microsoft Sdks\windows\v8.0a\ BIN\NETFX 4.0 Toolsc:\program Files (x86) \microsoft Sdks\windows\v7.0a\bin\



Open Codeblocks, select the LLVM clang compiler,


Auto-detect paths, add additional paths

Add a macro definition _has_exceptions=0

OK, create console project, choose Clang Compiler, enjoy it!!

Windows Codeblocks clang 3.7.0

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.