aboutsummaryrefslogtreecommitdiffstats
path: root/doc/HowToBuild.html
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-05-04 23:19:43 +0200
committerSven Gothel <[email protected]>2023-05-04 23:19:43 +0200
commitc0027eb10c20e41bdcbb2aff3ecb00c5b6351f31 (patch)
treecd7eb94fd69ed95fcb327030439c0abad11b915c /doc/HowToBuild.html
parent69f72ff942f8c4dfb990a9d816a18867e220854b (diff)
Roll back MacOS Min Version Requirement to 10.5 from 11.0 (macosx-version-min)
MacOSX compiler configuration. 2023-05-04 Actively supported architectures are 'x86_64' and 'arm64'. XCode 14.2 on a MacOS 12.6.5 x86_64 (mac-mini) machine is capable to produce fat-lipo code for MacOS >= 10.5 for 'x86_64' and 'arm64'. The MacOS SDK 11.3 has been re-added from a previous XCode installation. However, alternative source is <https://github.com/phracker/MacOSX-SDKs>. Only for using C++ and hence the C++ STL, the minimum version is 10.7 due to clang++ libc++. This is currently the case for JOAL's bundled openal-soft, as well as for JOGL's optional oculusvr-sdk (disabled).
Diffstat (limited to 'doc/HowToBuild.html')
-rw-r--r--doc/HowToBuild.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/HowToBuild.html b/doc/HowToBuild.html
index 5265ac3..89a5a89 100644
--- a/doc/HowToBuild.html
+++ b/doc/HowToBuild.html
@@ -137,14 +137,19 @@ apt-get install kernel-package build-essential
</li>
<li> <b>MacOS and iOS</b> x86_64 and aarch64
<ul>
+ <li><a href="http://www.apple.com/macosx/">Mac OS</a> 12.6.5</li>
+ <li><a href="http://developer.apple.com/technologies/xcode.html">Xcode</a> 14.2 for clang, etc (included in MacOS)</li>
+ <li>MacOS SDK 11.3 from a previous XCode version or <a href="https://github.com/phracker/MacOSX-SDKs">from this alternative site</a>
+ <ul>
+ <li><i>export SDKROOT=macosx11.3</i></li>
+ <li>We use <i>-mmacosx-version-min=10.5</i> deployment target in general.</li>
+ </ul></li>
<li>git &ge; 2.37 provided by Xcode &ge; 14</li>
<li>awk is provided by MacOS</li>
<li><a href="https://cmake.org/">CMake 3.25.1</a>, and install the <a href="https://stackoverflow.com/questions/30668601/installing-cmake-command-line-tools-on-a-mac">command line tools</a>
<ul>
<li>Install symlinks to <i>/usr/local/bin</i>, run: <i>sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install</i></li>
</ul></li>
- <li><a href="http://www.apple.com/macosx/">Mac OS</a> 11 or later (note: may not work with earlier releases) </li>
- <li><a href="http://developer.apple.com/technologies/xcode.html">Xcode</a> 14 or later for clang, etc (included in MacOS)</li>
<li><a href="https://7-zip.org/">7-Zip 21.07</a> x86_64 and arm64 version</li>
</ul>
Prepare fat universal OpenJDK libraries