<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tim, I remember some instructions about modifying the path that but I
didn't know how to do it so I renamed cygwin's link so it wouldn't get
called.<br>
<br>
I have a bat file in my c:\ a follows:<br>
<br>
cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools<br>
call vsvars32<br>
cd c:\cygwin\bin<br>
set CLASSPATH=<br>
bash --login -i<br>
<br>
and then I <br>
<br>
cd /cygdrive/c/OpenJDK/jdk7<br>
make sanity<br>
<br>
I assume vsvars32 is prepending all the VS9/SDK stuff and then bash
login is prepending the cygwin stuff.  How do you set up the path?  I
didn't see that in any instructions I read.  Is the linker the only
issue?<br>
<br>
Pete<br>
----<br>
Tim Bell wrote:
<blockquote cite="mid:4AC65820.1020207@sun.com" type="cite">
  <pre wrap="">Pete Brunet wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Here is what my PATH looks like:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
Files/Microsoft
Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual
Studio
9.0/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/Common7/Tools:/
cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5:/cygdrive/c/WINDOWS/Microsoft.NE
T/Framework/v2.0.50727:/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/VC/
VCPackages:/cygdrive/c/Program Files/Microsoft
SDKs/Windows/v6.0A/bin:/cygdrive/
c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdri
ve/c/Program Files/Intel/WiFi/bin/:/cygdrive/c/Program Files/ATI
Technologies/AT
I.ACE/Core-Static:/cygdrive/c/Program Files/Common
Files/Lenovo:/cygdrive/c/Prog
ram Files/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program
Files/Co
mmon Files/Roxio Shared/DLLShared/:/cygdrive/c/Program
Files/ThinkPad/ConnectUti
lities:/cygdrive/c/Program Files/Lenovo/Client Security
Solution:/cygdrive/c/Pro
gram Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/Program
Files/doxygen
/bin:/cygdrive/c/Program Files/Support
Tools/:/cygdrive/c/utilities:/cygdrive/c/
Program
Files/apache-ant-1.7.1:/cygdrive/c/Python26:/cygdrive/c/MinGW/bin:/cygdr
ive/c/Program Files/KDiff3:/cygdrive/c/Program Files/QuickTime/QTSystem/

I'll have to cogitate on the rest of your note a bit later.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
OK.

I am surprised your build works at all since you have the Cygwin
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin directories at the
start of your PATH.  We put the bootstrap JDK and the Microsoft
directories first in PATH, followed by the Cygwin directories.
In particular, the Cygwin link command will not work for us -
we need the Microsoft link.exe from $ALT_COMPILER_PATH

Having said that, the JDK Makefiles try to run with a minimal
PATH and get what they need from ALT_foo variables:

$ env | grep ALT_
ALT_DEVTOOLS_DIR=/usr/bin
ALT_COMPILER_PATH=C:/PROGRA~1/MICROS~1.0/VC/bin/
ALT_MSDEVTOOLS_PATH=/cygdrive/c/PROGRA~1/MICROS~2/Windows/v6.1/Bin
ALT_DXSDK_PATH=/cygdrive/c/PROGRA~1/MICROS~1.0SD
ALT_BOOTDIR=C:/jdk1.6.0_03
ALT_MSVCRNN_DLL_PATH=/cygdrive/c/PROGRA~1/MICROS~1.0/VC/redist/x86/MICROS~1.CRT

$ grep ALT_ ../openjdk.build.bash
export ALT_FREETYPE_LIB_PATH=c:/devtools/windows/freetype-i586/lib
export ALT_FREETYPE_HEADERS_PATH=c:/devtools/windows/freetype-i586/include
export ALT_JDK_IMPORT_PATH=g:/jdk1.7.0-b73
export ALT_BUILD_JDK_IMPORT_PATH=g:/jdk1.7.0-b73
export ALT_JDK_DEVTOOLS_DIR=/cygdrive/c/devtools


Tim



  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font color="#0060a0" face="Arial, sans-serif" size="1"><b>Pete Brunet</b></font><br>
<font color="#0060a0"><span style="text-decoration: line-through;">
              
              
              
              
    
</span></font><br>
<font color="#333333" face="Arial, sans serif" size="1">
a11ysoft - Accessibility Architecture and Development<br>
(512) 238-6967 (work), (512) 689-4155 (cell)<br>
Skype: pete.brunet<br>
IM: ptbrunet (AOL, Google), <a class="moz-txt-link-abbreviated" href="mailto:ptbrunet@live.com">ptbrunet@live.com</a> (MSN)<br>
<a class="moz-txt-link-freetext" href="http://www.a11ysoft.com/about/">http://www.a11ysoft.com/about/</a><br>
Ionosphere: WS4G
<br>
</font>
</div>
</body>
</html>