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 ALT_BOOTDIR=C:/Progra~1/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:/Progra~2/apache-ant-1.7.1 > set ALT_MSDEVTOOLS_PATH=C:/Progra~2/MICROS~1/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 > eval `bin/vsvars.sh -v10 -32` > cd /cygdrive/c/OpenJDK/jdk8/jdk/make/java/awt/ > make ARCH_DATA_MODEL=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 > `compile_all_props'. 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. 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
