From e37154a87902dca1653458d3eecb385d08ed661b Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Tue, 4 Dec 2018 22:01:03 +0100 Subject: build: protobuf dependency fixes, libusb build - docker protobuf dependencies, cross-compilation - device/trezor protobuf build fixes, try_compile - libusb built under all platforms, used by trezor for direct connect --- contrib/depends/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'contrib/depends/README.md') diff --git a/contrib/depends/README.md b/contrib/depends/README.md index dd2824569..7019c5166 100644 --- a/contrib/depends/README.md +++ b/contrib/depends/README.md @@ -59,6 +59,16 @@ Download it from apple, or search for it on github. Create a new directoty calle directory and place the entire MacOSX10.11.sdk folder in it. The depends build will then pick it up automatically (without requiring SDK_PATH). + +#Mingw builds + +Building for 32/64bit mingw requires switching alternatives to a posix mode + +```bash +update-alternatives --set x86_64-w64-mingw32-g++ x86_64-w64-mingw32-g++-posix +update-alternatives --set x86_64-w64-mingw32-gcc x86_64-w64-mingw32-gcc-posix +``` + ### Other documentation - [description.md](description.md): General description of the depends system -- cgit v1.2.3