Skip to content

supertanglang/clangbuilder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clang Builder

Clang Build Environment On Windows, Long Term Evolution

Installation:

Usually:

Download from Github, If your known use Git

git clone https://github.com/fstudio/clangbuilder.git clangbuilder

Click the Install.bat in the clangbuilder directory, this will run PowerShell startup bin/Installer/Install.ps1
It is recommended that whenever you have PowerShell scripts, and try not to delete the project file in the tools directory.

Similarly, you can start a PowerShell runs Install.ps1, generally run PowerShell scripts on the Windows right-click menu option, you can right-click the menu "run with PowerShell" Above procedure does not require administrator privileges.

If you are unable to run the script, please enter

Get-ExecutionPolicy

Output:

Restricted

Please run PowerShell with administrator rights, and Enter:

Set-ExecutionPolicy RemoteSigned

Web Installer:

PowerShell, Enter:

&{$wc=New-Object System.Net.WebClient;$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;$wc.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials;Invoke-Expression ($wc.DownloadString('https://raw.githubusercontent.com/fstudio/clangbuilder/master/bin/Installer/WebInstall.ps1'))}

Or:

Cmd Enter:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$wc=New-Object System.Net.WebClient;$wc.Proxy=[System.Net.WebRequest]::DefaultWebProxy;$wc.Proxy.Credentials=[System.Net.CredentialCache]::DefaultNetworkCredentials;Invoke-Expression ($wc.DownloadString('https://raw.githubusercontent.com/fstudio/clangbuilder/master/bin/Installer/WebInstall.ps1'))}"

Your Should Input Your ClangSetup Install Loaction!!!!

Clang on Windows

When Build Clang on Windows,Best of Visual Studio version

VisualStudio 2013 Update 4

Or Your can use Mingw-w64,your can cross compile LLVM on Linux ,Mingw-w64 Support it.

The Other,Your can use cmake to create MinGW Makefile,or NMake Makefile ,run it ,The C and C++ Compiler is Mingw-w64 tools ( i686-w64-mingw32-gcc ,x86_64-w64-mingw32-g++)

Automated build

Run

PowerShell -File .\bin\ClangbuilderManager.ps1 -VisualStudio 120 -Arch x64 -Flavor Release -Clear -Static

User Interface

ClangbuilderUI

clangbuilderUI

Launcher
launcher

Suggest

  1. Best Platform is Windows 10 x64
  2. -Clear flag will reset current process Environment PATH value, Resolve conflict environment variables
  3. Build LLDB require Visual Studio 2015, When you not install Python 3.x ,Clangbuilder will download python.exe after inform you install.
  4. Build LLDB, not test on Windows x86, maybe cannot find PYTHONHOME.

Other

First Author: Force.Charlie
Copyright © 2016 ForceStudio. All Rights Reserved.

Packages

No packages published

Languages

  • PowerShell 99.8%
  • Other 0.2%