diff options
author | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | 2016-08-19 16:18:39 +0300 |
---|---|---|
committer | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | 2016-08-19 16:18:39 +0300 |
commit | 073dcfc442aab40aebbfd3e5e14a1c769da2cd6d (patch) | |
tree | a37d852677f57df2d9e9852d676963dfdf24c1ab | |
parent | e8fa8e464d48a13fefa176741e56ce21fbc485f8 (diff) | |
download | jdk8u-073dcfc442aab40aebbfd3e5e14a1c769da2cd6d.tar.gz |
Updated README with OSX build instructionsjb8u112-b460jb8u112-b456jb8u112-b454jb8u112-b452jb8u112-b450jb8u112-b449jb8u112-b444jb8u112-b443jb8u112-b441jb8u112-b438jb8u112-b436jb8u112-b434jb8u112-b428jb8u112-b421jb8u112-b408.6jb8u112-b408.5jb8u112-b408.408.9jb8u112-b408.4jb8u112-b408.3jb8u112-b408.2jb8u112-b377jb8u112-b370jb8u112-b362jb8u112-b361jb8u112-b356jb8u112-b353jb8u112-b351jb8u112-b347jb8u112-b346jb8u112-b340jb8u112-b338jb8u112-b332jb8u112-b331jb8u112-b330jb8u112-b329jb8u112-b328jb8u112-b325jb8u112-b318jb8u112-b317jb8u112-b314jb8u112-b313jb8u112-b311jb8u112-b310
-rw-r--r-- | README.md | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -99,3 +99,35 @@ Configure and run make in cygwin shell ./configure --with-target-bits=64 --with-freetype=/cygdrive/freetype/ make images ``` + +##OSX +XCode +* Login to https://developer.apple.com with your Apple ID. Download +[Xcode 4.6.3](https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_4.6.3/xcode4630916281a.dmg) +and put Xcode.app into /Applications/Xcode4 + +_The latest XCode can be used, but you need to run make with COMPILER_WARNINGS_FATAL=false_ + +Freetype +* Install [XQuartz](https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.9.dmg) or build Freetype from + [sources](https://www.freetype.org/download.html) +``` +cd freetype +./configure +./make +mkdir lib +cp objs/.libs/libfreetype.dylib lib/ +``` + +Configure and build jdk +``` +export MACOSX_DEPLOYMENT_TARGET=10.8 +cd /path_to_jdk8/ +bash configure --with-xcode-path=/Applications/Xcode4/Xcode4.app --with-freetype=/path_to_freetype +make images +``` +or +``` +make COMPILER_WARNINGS_FATAL=false images +``` +for the latest XCode
\ No newline at end of file |