building part of jdk 8 (original) (raw)
Pete Brunet peter.brunet at oracle.com
Mon Feb 13 17:08:39 UTC 2012
- Previous message (by thread): building part of jdk 8
- Next message (by thread): building part of jdk 8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This worked for me today for building just awt:
This is in my bat file. The first two sets are what resolved my issue.
set ALT_OUTPUTDIR=c:/OpenJDK/jdk8/build/windows-i586-fastdebug
set
ALT_JDK_IMPORT_PATH=c:/OpenJDK/jdk8/build/windows-i586-fastdebug/j2sdk-image
set ALT_BOOTDIR=C:/Progra1/Java/jdk1.7.0_02
set ALT_FREETYPE_HEADERS_PATH=C:/Users/Pete/freetype-2.4.8/include
set ALT_FREETYPE_LIB_PATH=C:/Users/Pete/freetype-2.4.8/objs/win32/vc2010
set ANT_HOME=C:/Progra2/apache-ant-1.7.1
set ALT_MSDEVTOOLS_PATH=C:/Progra2/MICROS1/Windows/v7.0A/bin
set CLASSPATH=
set PATH=C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;
set CYGWIN=nodosfilewarning
cd c:\Users\Pete\cygwin\bin
bash --login -i
Then at the cygwin command line:
eval bin/vsvars.sh -v10 -32
cd /cygdrive/c/OpenJDK/jdk8/jdk/make/sun/awt/
make ARCH_DATA_MODEL=32 2>&1 | tee build.log
Note: I suspect I don't need wbem in my path; I'll remove it the next time I do a build.
Pete
On 2/2/12 2:19 PM, Pete Brunet wrote:
On 2/1/12 10:54 PM, Pete Brunet wrote:
On 1/23/12 9:39 AM, Pete Brunet wrote:
In the past I was able to build part of jdk 8 but that is not currently working although I am able to do a full 32 bit build. I've recently moved from XP to W7 so my environment might not be set up quite right yet. Here's what I do...
// These are done in a bat file before I do any makes set ALTBOOTDIR=C:/Progra~1/Java/jdk1.7.002 set ALTFREETYPEHEADERSPATH=C:/Users/Pete/freetype-2.4.8/include set ALTFREETYPELIBPATH=C:/Users/Pete/freetype-2.4.8/objs/win32/vc2010 set ANTHOME=C:/Progra~2/apache-ant-1.7.1 set ALTMSDEVTOOLSPATH=C:/Progra
2/MICROS1/Windows/v7.0A/bin set CLASSPATH= set PATH=C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem; set CYGWIN=nodosfilewarning cd c:\Users\Pete\cygwin\bin bash --login -i // These are done at the command line evalbin/vsvars.sh -v10 -32
cd /cygdrive/c/OpenJDK/jdk8/jdk/make/java/awt/ make ARCHDATAMODEL=32 FASTDEBUG=true 2>&1 | tee build.log The error I am getting is make: *** No rule to make target../../../build/windows-i586/btjars/compileproperties.jar', needed by_ _
compileallprops'. Stop. When building below the top level, for some reason a partial build directory is being created in jdk8/jdk. When doing a full build from the top level the only build directory I see is the one in jdk8. It appears that ../../../build/... is using the build under jdk rather than the build under the top level. Tonight I saw a similar failure when trying to rebuild JLabel.java from jdk: make[2]: Entering directory/cygdrive/c/OpenJDK/jdk8/jdk/make/javax/swing'_ _make[2]: *** No rule to make target
javax/swing/JLabel', needed by../../../build/windows-i586/tmp/com/javax.swing/.classes.list'. Stop._ _and when trying to build directly at .../jdk/make/javax/swing, i.e._ _make: *** No rule to make target
javax/swing/JLabel', needed by../../../build/windows-i586/tmp/com/javax.swing/.classes.list'. Stop._ _The JLabel issue was caused by the existence of_ _...\jdk\src\share\classes\javax\swing\JLabel - Copy.java. (This is_ _Windows' scheme for copies.). However, that wouldn't explain the use of_ _a build directory under jdk (instead of under the top level), i.e. my_ _original problem might have been caused by using the wrong build dir:_ _make: *** No rule to make target_ _
../../../build/windows-i586/btjars/compileproperties.jar', needed by `compileallprops'. Stop. In case it's helpful jdk/build contains these directories: bin btbins btclasses btjars classes gensrc include lib Since the above has windows-i586 instead of windows-i586-debug it looks like I need to add another variable when invoking make. Pete
- Previous message (by thread): building part of jdk 8
- Next message (by thread): building part of jdk 8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]