Skip to content

Commit

Permalink
version 0.2.3: improve distro interoperability
Browse files Browse the repository at this point in the history
I don't think the -static-libgcc and -static-libstdc++ options are
required, but avoiding any chance of C++ ABI issues seems worth the larger
binary size, maybe?

The important thing is that I've compiled this version using an
Ubuntu 14.04 WSL installation rather than an Ubuntu 16.04 one.  I
accomplished this by going back to a Windows 10.0.14393 VM.
  • Loading branch information
rprichard committed Jul 1, 2017
1 parent f5d0ab8 commit 8526919
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Version 0.2.3 (2017-06-30)

Changes since 0.2.2

* Binaries are linked with -static-libgcc and -static-libstdc++.

* Build the binaries with an Ubuntu 14.04 WSL installation. The binaries
for 0.2.2 were built with Ubuntu 16.04, and do not work on 14.04.

# Version 0.2.2 (2017-06-23)

Changes since 0.2.1
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.2.3
1 change: 1 addition & 0 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ all : ../out/wslbridge-backend
../out/wslbridge-backend : wslbridge-backend.cc ../common/SocketIo.cc ../common/SocketIo.h ../VERSION.txt Makefile
mkdir -p ../out
g++ -std=c++11 -fno-exceptions \
-static-libgcc -static-libstdc++ \
-D_GNU_SOURCE \
-DWSLBRIDGE_VERSION=$(shell cat ../VERSION.txt) \
-Wall -O2 $< ../common/SocketIo.cc -o $@ -lutil -pthread

0 comments on commit 8526919

Please sign in to comment.