building part of jdk 8

Pete Brunet peter.brunet at oracle.com
Tue Jan 24 03:49:00 UTC 2012


Correction...

My original approach was to do

cd /cygdrive/c/OpenJDK/jdk8
not
cd /cygdrive/c/OpenJDK/jdk8/jdk/make

and then

make ARCH_DATA_MODEL=32 ALLOW_DOWNLOADS=true fastdebug_build 2>&1 | tee
build.log

so I need to build the entire forest first, i.e. I'll try using
FASTDEBUG=true instead of the fastdebug_build target at the top level. 
Then I'll experiment and see if I need to rebuild at the .../jdk/make
level first and then at the .../jdk/make/java/awt level as I need rebuilds.

Pete

On 1/23/12 9:13 PM, Pete Brunet wrote:
> Hi Kelly, That's almost what I did.  The only difference is that for the
> full build (which appears to have been successful) I used a target of
> fastdebug_build instead of using FASTDEBUG=true, i.e.
>
> make ARCH_DATA_MODEL=32 ALLOW_DOWNLOADS=true fastdebug_build 2>&1 | tee
> build.log
>
> I'll start over with this new approach.  -Pete
>
> On 1/23/12 8:09 PM, Kelly O'Hair wrote:
>> You need to build everything once first, e.g.
>>   cd /cygdrive/c/OpenJDK/jdk8/jdk/make/
>>   make ARCH_DATA_MODEL=32 FASTDEBUG=true 2>&1 | tee build.log
>> then you can go into make/java/awt  and repeatedly
>>   cd /cygdrive/c/OpenJDK/jdk8/jdk/make/java/awt/
>>   make ARCH_DATA_MODEL=32 FASTDEBUG=true 2>&1 | tee build.log
>>
>> -kto
>>
>> On Jan 23, 2012, at 7: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.
>>>
>>> Since the above has windows-i586 instead of windows-i586-debug it looks
>>> like I need to add another variable when invoking make.
>>>
>>> Pete



More information about the build-dev mailing list