diff options
author | Patryk Obara <dreamer.tan@gmail.com> | 2021-02-18 19:25:40 +0300 |
---|---|---|
committer | Patryk Obara <patryk.obara@gmail.com> | 2021-02-19 21:36:58 +0300 |
commit | 3a28128ddd6ed0ae8cbd24909bca6b6ee704effc (patch) | |
tree | b1302933ed1365cb5d4854575425dee97a1451c3 /BUILD.md | |
parent | d46d6f425a4d1ba8c173b0e7e13529fb72c1feab (diff) |
Move Windows-specific instructions to separate file
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 52 |
1 files changed, 0 insertions, 52 deletions
@@ -12,9 +12,6 @@ notes below. - [Build Script](#build-script) - [Introduction](#introduction) - - [Windows Procedures](#windows-procedures) - - [Install MSYS2](#install-msys2) - - [Clone and Build a Windows Binary](#clone-and-build-a-windows-binary) - [Linux Procedures](#linux-procedures) - [Install Dependencies under Linux](#install-dependencies-under-linux) - [Build a Linux Binary](#build-a-linux-binary) @@ -28,55 +25,6 @@ notes below. - [Record Data for AutoFDO Builds](#record-data-for-autofdo-builds) - [Build Using AutoFDO Data](#build-using-autofdo-data) -## Windows Procedures - -### Install MSYS2 - -1. Download and install Chocolatey: <https://chocolatey.org/install> -1. Open a console and run Cholocatey's command line interface (CLI) - to install msys2 and git: - - `choco install msys2 git --no-progress` - - ``` text - Chocolatey v0.10.15 - Installing the following packages: - msys2 git - By installing you accept licenses for the packages. - - msys2 v20180531.0.0 [Approved] - msys2 package files install completed. Performing other installation steps. - Installing to: C:\tools\msys64 - Extracting 64-bit C:\ProgramData\chocolatey\lib\msys2\tools\msys2-base-x86_64.tar.xz - Extracting C:\tools\msys64\msys2-base-x86_64-20180531.tar to C:\tools\msys64... - Starting initialization via msys2_shell.cmd - PATH environment variable does not have C:\tools\msys64 in it. Adding... - ``` - -1. Launch a new MSYS2 terminal (not a CMD prompt or Powershell window): - 1. Start Menu > Run ... `c:\tools\msys64\msys2_shell.cmd` - 1. Run all subsequent steps within this terminal. - -### Clone and Build a Windows Binary - -1. Clone and enter the repository's directory: - 1. `git clone https://github.com/dosbox-staging/dosbox-staging.git` - 1. `cd dosbox-staging` - - Be sure to run all subsequent steps below while inside the repo's directory. - -2. (🏁 first-time-only) Install the build tools and runtime dependencies: - - `./scripts/list-build-dependencies.sh -m msys2 -c clang | xargs pacman -S - --noconfirm` - -3. Build an optimized binary with either compiler: - -- GCC: `./scripts/build.sh -c gcc -t release --bin-path /mingw64/bin` -- Clang: `./scripts/build.sh -c clang -t release --bin-path /mingw64/bin` - -1. To build a debug binary, use `-t debug` in place of `-t release`. - ## Linux Procedures ### Install Dependencies under Linux |