From 2976527a43ec256c98c383110d436bba7aff8c9c Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 7 May 2020 15:51:47 +0200 Subject: [PATCH] Add doc to setup the native build environment macOS --- .../src/documentation/developer-guide.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/hawtjni-website/src/documentation/developer-guide.md b/hawtjni-website/src/documentation/developer-guide.md index 850bb09d..fffe219d 100644 --- a/hawtjni-website/src/documentation/developer-guide.md +++ b/hawtjni-website/src/documentation/developer-guide.md @@ -794,6 +794,22 @@ agnostic source package for building the native library. ## Platform Build Tools Requirements +### macOS + +Use brew to install the necessary tools: + + brew install automake autoconf libtool gcc + +Make sure the GCC compiler is used by default: + + cd /usr/local/bin + ln -s c++-9 c++ + ln -s cpp-9 cpp + ln -s g++-9 g++ + ln -s gcc-9 gcc + export PATH=/usr/local/bin:$PATH + rehash + ### Windows Download and install the free [Microsoft Windows SDK][ms_sdk]. The SDK includes