Hi,

On 10/14/2013 09:58 AM, Francis ANDRE wrote:
Hi

Just cloning this repository http://hg.openjdk.java.net/jdk7u/jdk7u to a
fresh new directory on a WXP/Cygwin platform with the following ALT_*
variables

$ env | grep ALT
ALT_BOOTDIR=C:/Progra~1/Java/jdk1.7.0_40
ALT_SLASH_JAVA=C:/Progra~1/Java/jdk1.7.0_40
ALT_JDK_IMPORT_PATH=C:/Progra~1/Java/jdk1.7.0_40
ALT_FREETYPE_HEADERS_PATH=C:/Cygwin/OpenJDK/freetype-2.4.7/include
ALT_FREETYPE_LIB_PATH=C:/Cygwin/OpenJDK/freetype-2.4.7/objs/win32/vc2010
ALT_DXSDK_PATH=C:/PROGRA~1/MI7482~1
FREETYPE2_LIB_PATH=C:/Cygwin/OpenJDK/freetype-2.4.7/objs/win32/vc2010


FrancisANDRE@idefix /cygdrive/Z/JDK/jdk7u
$ make sanity
jdk/make/common/shared/Defs.gmk:559: *** "ERROR: Trouble with the
absolute path for OUTPUTDIR './bui
ld/windows-i586'".  Stop.


My understanding is that there is no need to specify the ALT_OUTPUTDIR
but it seems to be needed by make sanity.

Did I miss something?

I never encountered this error, what is the path to openjdk sourcedir, does it contain spaces or long names?

ALT_OUTPUTDIR is not needed for build, OUTPUTDIR points to openjdk/build/windows-i586 by default.

I am using the following script for windows-i586, it's for winsdk7.1 (vs2010 one should be very similar), you may find more details in my github account:

@echo off

rem unset variables
set LD_LIBRARY_PATH=
set CLASSPATH=
set JAVA_HOME=

rem shortcuts from script directory
set BAD_SLASH_SCRIPT_DIR=%~dp0
set SCRIPT_DIR=%BAD_SLASH_SCRIPT_DIR:\=/%
set UTILS_DIR=%SCRIPT_DIR%utils
set LIBS_DIR=%SCRIPT_DIR%libs
set VS=%UTILS_DIR%/winsdk71/vs2010e
set WINSDK=%UTILS_DIR%/winsdk71/sdk

rem utils in path
set MAKE_HOME=%UTILS_DIR%/make
set PATH_PREPEND=%UTILS_DIR%/path_prepend
set CYGWIN_HOME=%UTILS_DIR%/cygwin
set BOOTJDK_HOME=%SCRIPT_DIR%/../jdk7
set ANT_HOME=%UTILS_DIR%/ant

rem ALT_* varibles
set ALT_BOOTDIR=%BOOTJDK_HOME%
set ALT_COMPILER_PATH=%VS%/VC/Bin
set ALT_WINDOWSSDKDIR=%WINSDK%
set ALT_FREETYPE_LIB_PATH=%LIBS_DIR%/freetype/dist/7_32
set ALT_FREETYPE_HEADERS_PATH=%LIBS_DIR%/freetype/include
set ALT_MSVCRNN_DLL_PATH=%LIBS_DIR%/msvcr/7_32
set ALT_DXSDK_PATH=%LIBS_DIR%/directx
set ALT_CACERTS_FILE=%LIBS_DIR%/cacerts/cacerts

rem other openjdk variables
set UNLIMITED_CRYPTO=true
set MILESTONE=u40-unofficial
set BUILD_NUMBER=b43
set FULL_DEBUG_SYMBOLS=0
rem set NO_DOCS=true

rem other variables
set CYGWIN=nodosfilewarning

rem set compiler environment manually
set WINDOWSSDKDIR=%WINSDK%
set VS100COMNTOOLS=%VS%/Common7/Tools
set Configuration=Release
set WindowsSDKVersionOverride=v7.1
set ToolsVersion=4.0
set TARGET_CPU=x86
set CURRENT_CPU=x86
set PlatformToolset=Windows7.1SDK
set TARGET_PLATFORM=XP
set LIB=%VS%/VC/Lib;%WINSDK%/Lib
set LIBPATH=%VS%/VC/Lib
set PATH=%PATH_PREPEND%;%VS%/Common7/IDE;%VS%/Common7/Tools;%VS%/VC/Bin;%VS%/VC/Bin/VCPackages;%WINSDK%/Bin;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;%MAKE_HOME%;%CYGWIN_HOME%/bin;%BOOTJDK_HOME%/bin;%ANT_HOME%/bin;%LIBS_DIR%/msvcr/7_32
set INCLUDE=%VS%/VC/INCLUDE;%WINSDK%/INCLUDE;%WINSDK%/INCLUDE/gl;

bash


Francis




--
Regards,
Alex Kasko

Reply via email to