Skip to content

Commit 9b175de

Browse files
fanquakejanus
authored andcommitted
doc: remove dependency install instructions from win docs
This duplicates what is in depends, and is outdated.
1 parent e18fce6 commit 9b175de

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

depends/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ For more information, see [SDK Extraction](../contrib/macdeploy/README.md#sdk-ex
5454

5555
#### For Win64 cross compilation
5656

57-
- see [build-windows.md](../doc/build-windows.md#cross-compilation-for-ubuntu-and-windows-subsystem-for-linux)
57+
apt install g++-mingw-w64-x86-64-posix
5858

5959
#### For linux (including i386, ARM) cross compilation
6060

doc/build-windows.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,37 +51,19 @@ The steps below can be performed on Ubuntu (including in a VM) or WSL. The depen
5151
will also work on other Linux distributions, however the commands for
5252
installing the toolchain will be different.
5353

54-
First, install the general dependencies:
55-
56-
sudo apt update
57-
sudo apt upgrade
58-
sudo apt install cmake curl g++ git make pkg-config
59-
60-
A host toolchain (`g++`) is necessary because some dependency
61-
packages need to build host utilities that are used in the build process.
62-
63-
See [dependencies.md](dependencies.md) for a complete overview.
54+
See [README.md](../depends/README.md) in the depends directory for which
55+
dependencies to install and [dependencies.md](dependencies.md) for a complete overview.
6456

6557
If you want to build the Windows installer using the `deploy` build target, you will need [NSIS](https://nsis.sourceforge.io/Main_Page):
6658

67-
sudo apt install nsis
59+
apt install nsis
6860

6961
Acquire the source in the usual way:
7062

7163
git clone https://github.com/Original-Tasty/bitgesell.git
7264
cd bitgesell
7365

74-
## Building for 64-bit Windows
75-
76-
The first step is to install the mingw-w64 cross-compilation toolchain:
77-
78-
```sh
79-
sudo apt install g++-mingw-w64-x86-64-posix
80-
```
81-
82-
Once the toolchain is installed the build steps are common:
83-
84-
Note that for WSL the BGL Core source path MUST be somewhere in the default mount file system, for
66+
Note that for WSL the Bitgesell Core source path MUST be somewhere in the default mount file system, for
8567
example /usr/src/BGL, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
8668
This means you cannot use a directory that is located directly on the host Windows file system to perform the build.
8769

0 commit comments

Comments
 (0)