diff options
author | Thomas Stringer <tr.stringer@outlook.com> | 2016-04-27 02:05:18 +0300 |
---|---|---|
committer | Thomas Stringer <tr.stringer@outlook.com> | 2016-04-27 02:07:34 +0300 |
commit | ec898af6b074202fabff2deffeab1e9529f63e90 (patch) | |
tree | 00fc11f6c43c225632590a6275622351e12cd35b /Documentation/building | |
parent | 247b74f975b8a5f5a30dc951ae6c9249471e29d8 (diff) |
Added documentation for ubuntu build
Diffstat (limited to 'Documentation/building')
-rw-r--r-- | Documentation/building/unix-instructions.md | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Documentation/building/unix-instructions.md b/Documentation/building/unix-instructions.md index fe1226c440..7810875b91 100644 --- a/Documentation/building/unix-instructions.md +++ b/Documentation/building/unix-instructions.md @@ -1,7 +1,7 @@ Building CoreFX on FreeBSD, Linux and OS X ========================================== -Building CoreFX is pretty straightforward. Clone the repo and run the build script. +Building CoreFX is pretty straightforward. Clone the repo and run the build script. For specific steps to build on Ubuntu, [navigate to the end of this document](#steps-to-build-on-ubuntu). ```bash git clone https://github.com/dotnet/corefx.git @@ -59,3 +59,19 @@ If you see errors along the lines of `SendFailure (Error writing headers)` you m ```sh mozroots --import --sync ``` + +## Steps to Build on Ubuntu + +*Note: verified on Ubuntu 14.04 LTS* + +1. Install git `sudo apt-get install git` +2. Clone the corefx repo `git clone https://github.com/dotnet/corefx.git` +3. Install curl-dev `sudo apt-get install libcurl4-openssl-dev` +4. Install icu `sudo apt-get install libicu52` +5. Install llvm `sudo apt-get install llvm` +6. Install lldb `sudo apt-get install lldb-3.5` +7. Install cmake `sudo apt-get install cmake` +8. Install clang `sudo apt-get install clang-3.6` +9. Install libunwind `sudo apt-get install libunwind8-dev` +10. Create a symlink for clang bins `sudo ln -s /usr/bin/clang-3.6 /usr/bin/clang && sudo ln -s /usr/bin/clang++-3.6 /usr/bin/clang++` +11. Run the build script `./build.sh` |