Skip to content

Commit 68d05f1

Browse files
committedJan 5, 2019
Updated to include selection of g++ compiler
1 parent 08b33b6 commit 68d05f1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
 

‎unix/BTH/install-windows-32bit-crosscompile.sh

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sudo apt install nsis -y
66

77
# Set the default mingw32 g++ compiler option to posix.
88
sudo apt install g++-mingw-w64-i686 mingw-w64-i686-dev -y
9+
sudo update-alternatives --config i686-w64-mingw32-g++
10+
911

1012
# Lib boost
1113
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev -y

‎unix/BTH/install-windows-64bit-crosscompile.sh

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ sudo apt-get install libx11-xcb-dev libfontconfig-dev -y
2424

2525
# Set the default mingw32 g++ compiler option to posix.
2626
sudo apt install g++-mingw-w64-x86-64 -y
27+
sudo update-alternatives --config x86_64-w64-mingw32-g++
2728

2829
# Install BerkelyDB
2930
sudo apt-get install software-properties-common -y

0 commit comments

Comments
 (0)
Please sign in to comment.