View Single Post
Old 16th June 2018, 09:52   #26  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
1. As of today, if you compile MVTools from git, you can pass -static-libstdc++ -static-libgcc so you don't have to worry about shipping those libraries.

If using the latest meson from git:
Code:
mkdir build; cd build
meson ../ -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
If using meson 0.46.x it's a bit different due to a bug:
Code:
mkdir build; cd build
meson ../
meson configure -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
(libtool would strip these from LDFLAGS so you have to use meson.)

2. I don't use anything fancier than C++11, so Apple's clang compiler should be able to compile MVTools. What errors do you get?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote