mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Fix some paths for toolchain / build
This commit is contained in:
parent
b54d5ae383
commit
8ea6c339e4
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
To build dependencies for the current arch+OS:
|
To build dependencies for the current arch+OS, from this working directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make
|
make
|
||||||
|
@ -20,10 +20,12 @@ make HOST=x86_64-w64-mingw32 -j4
|
||||||
|
|
||||||
A toolchain will be generated that's suitable for plugging into Monero's
|
A toolchain will be generated that's suitable for plugging into Monero's
|
||||||
cmake. In the above example, a dir named x86_64-w64-mingw32 will be
|
cmake. In the above example, a dir named x86_64-w64-mingw32 will be
|
||||||
created. To use it for Monero:
|
created. To use it for Monero, from the top of the Monero source tree:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cmake -DCMAKE_TOOLCHAIN=`pwd`/contrib/depends/x86_64-w64-mingw32
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DCMAKE_TOOLCHAIN_FILE=$PWD/../contrib/depends/x86_64-w64-mingw32/share/toolchain.cmake ..
|
||||||
```
|
```
|
||||||
|
|
||||||
Common `host-platform-triplets` for cross compilation are:
|
Common `host-platform-triplets` for cross compilation are:
|
||||||
|
|
Loading…
Reference in a new issue