diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-08-22 22:44:34 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-08-22 22:44:34 -0500 |
commit | f0f3879ba4e01ad15b83597e742251160372aedf (patch) | |
tree | f8effb421dfcb1b495d134e2de927424fd62f6c3 /contrib | |
parent | Merge pull request #8415 (diff) | |
parent | Fix some paths for toolchain / build (diff) | |
download | monero-f0f3879ba4e01ad15b83597e742251160372aedf.tar.xz |
Merge pull request #8419
8ea6c33 Fix some paths for toolchain / build (Howard Chu)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/depends/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/depends/README.md b/contrib/depends/README.md index 1aa5b276f..2f1d8424a 100644 --- a/contrib/depends/README.md +++ b/contrib/depends/README.md @@ -1,6 +1,6 @@ ### Usage -To build dependencies for the current arch+OS: +To build dependencies for the current arch+OS, from this working directory: ```bash 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 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 -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: |