commit | e8fa8e464d48a13fefa176741e56ce21fbc485f8 | [log] [tgz] |
---|---|---|
author | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | Fri Aug 19 12:41:23 2016 +0300 |
committer | Alexey Ushakov <Alexey.Ushakov@jetbrains.com> | Fri Aug 19 12:41:23 2016 +0300 |
tree | fd8be0c486fb4ad362a45d396c874ef33a601eeb | |
parent | 8f7206ed52ac4d4f587b79a6364c2d5407b7df5b [diff] |
Updated README with windows build instructions
#How JetBrains Runtime is organised ##Workspaces
github.com/JetBrains/jdk8u
github.com/JetBrains/jdk8u_corba
github.com/JetBrains/jdk8u_hotspot
github.com/JetBrains/jdk8u_jaxp
github.com/JetBrains/jdk8u_jaxws
github.com/JetBrains/jdk8u_jdk
github.com/JetBrains/jdk8u_langtools
github.com/JetBrains/jdk8u_nashorn
Usually, we do not modify any of the repositories except jdk module. Other repositories are needed for build purposes. ##Getting sources OSX, Linux:
git config --global core.autocrlf true git clone git@github.com:JetBrains/jdk8u.git cd jdk8u ./getModules.sh
Windows:
git config --global core.autocrlf false git clone git@github.com:JetBrains/jdk8u.git cd jdk8u getModules.bat
#Configure Local Build Environment ##Linux
sudo apt-get install git zip bzip2 unzip tar curl sudo apt-get install ccache make gcc g++ ca-certificates ca-certificates-java sudo apt-get install libxext-dev libxrender-dev libxtst-dev libxt-dev sudo apt-get install libasound2-dev libcups2-dev libfreetype6-dev git clone git@github.com:JetBrains/jdk8u.git cd jdk8u ./getModules.sh download jdk8 from Oracle into /home/user/jdk1.8.0_102 export JAVA_HOME=/home/user/jdk1.8.0_102 sh ./configure make
##Windows
Install:
Build Freetype:
(echo ^<?xml version="1.0" encoding="utf-8"?^> echo ^<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"^> echo ^<PropertyGroup Label="Globals"^> echo ^<TargetName^>freetype^</TargetName^> echo ^<UserIncludeDirectories^>.^</UserIncludeDirectories^> echo ^</PropertyGroup^> echo ^<ItemDefinitionGroup^> echo ^<ClCompile^> echo ^<ForcedIncludeFiles^>jb_custom.h^</ForcedIncludeFiles^> echo ^</ClCompile^> echo ^</ItemDefinitionGroup^> echo ^</Project^>) > freetype.user.props (echo #ifndef __JB_CUSTOM_H__ echo #define __JB_CUSTOM_H__ echo #define FT_EXPORT^(x^) __declspec^(dllexport^) x echo #define FT_BASE^(x^) __declspec^(dllexport^) x echo #endif) > jb_custom.h
freetype include lib
Configure and run make in cygwin shell
cd /cygdrive/c/jdk8/ ./configure --with-target-bits=32 --with-freetype=/cygdrive/freetype/ make images
cd /cygdrive/c/jdk8/ ./configure --with-target-bits=64 --with-freetype=/cygdrive/freetype/ make images