<!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">
Thanks Tim,<br>
<br>
>>No need to remake target
`c:/OpenJDK/jdk7/build/windows-i586/btbins/freetype_versioncheck.exe'.<br>
>What is the output when you run that executable in an MS-DOS CMD
window?<br>
The exe file doesn't exist as the result of running make sanity, but if
I <br>
cd /cygdrive/c/OpenJDK/jdk7/jdk/make/tools/freetypecheck<br>
make<br>
then the exe does get created and if I then run the exe from a DOS
command line it works fine.<br>
<br>
Here is what my PATH looks like:<br>
$ echo $PATH<br>
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
Files/Microsoft<br>
Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft
Visual Studio<br>
9.0/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/Common7/Tools:/<br>
cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5:/cygdrive/c/WINDOWS/Microsoft.NE<br>
T/Framework/v2.0.50727:/cygdrive/c/Program Files/Microsoft Visual
Studio 9.0/VC/<br>
VCPackages:/cygdrive/c/Program Files/Microsoft
SDKs/Windows/v6.0A/bin:/cygdrive/<br>
c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdri<br>
ve/c/Program Files/Intel/WiFi/bin/:/cygdrive/c/Program Files/ATI
Technologies/AT<br>
I.ACE/Core-Static:/cygdrive/c/Program Files/Common
Files/Lenovo:/cygdrive/c/Prog<br>
ram Files/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program
Files/Co<br>
mmon Files/Roxio Shared/DLLShared/:/cygdrive/c/Program
Files/ThinkPad/ConnectUti<br>
lities:/cygdrive/c/Program Files/Lenovo/Client Security
Solution:/cygdrive/c/Pro<br>
gram Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/Program
Files/doxygen<br>
/bin:/cygdrive/c/Program Files/Support
Tools/:/cygdrive/c/utilities:/cygdrive/c/<br>
Program
Files/apache-ant-1.7.1:/cygdrive/c/Python26:/cygdrive/c/MinGW/bin:/cygdr<br>
ive/c/Program Files/KDiff3:/cygdrive/c/Program Files/QuickTime/QTSystem/<br>
<br>
I'll have to cogitate on the rest of your note a bit later.<br>
<br>
Pete<br>
---<br>
Tim Bell wrote:
<blockquote cite="mid:4AC64AE8.7030507@sun.com" type="cite">
<pre wrap="">Pete Brunet wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I ran make -d sanity today and see the following. I don't know why it
doesn't want to build freetype_versioncheck.exe. It doesn't exist.
There is however a file named freetype_versioncheck.exe.manifest so to
make sure that isn't a problem I commented out its build from
freetypecheck/makefile and renamed it to
freetype_versioncheck-OLD.exe.manifest in the btbins directory, but the
debug make output looks the same after that test.
</pre>
</blockquote>
<pre wrap=""><!---->
sanity will need that .manifest file to run freetype_versioncheck.exe
That was build bugID 6705913 "freetype_versioncheck.exe - Unable To Locate Component"
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/show_bug.cgi?id=100101">https://bugs.openjdk.java.net/show_bug.cgi?id=100101</a>
(SNIP!)
</pre>
<blockquote type="cite">
<pre wrap=""> No need to remake target `c:/OpenJDK/jdk7/build/windows-i586/btbins/freetype_versioncheck.exe'.
</pre>
</blockquote>
<pre wrap=""><!---->
What is the output when you run that executable in an MS-DOS CMD window?
</pre>
<blockquote type="cite">
<pre wrap="">Tim, I went back to my original fixes (copy dll to lib and change the
make to use freetype6.dll) then did the following:
cd /cygdrive/c/OpenJDK/jdk7/jdk/make/tools/freetypecheck
make clean
make all
and started getting a trace. I don't know if running from the
freetypecheck directory is a valid thing to do, but when I do that I
noticed that mt.exe is not found. In this (possibly invalid) invocation
of make, $(MT) resolves to
c:/PROGRA~1/MICROS~1.0/Common7/Tools/../../Vc/Bin/mt aka "C:\Program
Files\Microsoft Visual Studio 9.0\VC\bin\mt"
but on my system mt.exe is at
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe
If I change $(MT) to just mt so it's found via the PATH then the above
build is OK.
</pre>
</blockquote>
<pre wrap=""><!---->
That is what my build is doing. $(CL) and $(MT) are both found on PATH, ahead
of the Cygwin bin directories. But I also set the ALT_ variables in my environment
and build scripts (see below).
$ echo $PATH
/cygdrive/c/JDK16~1.0_0/bin:/cygdrive/c/PROGRA~1/MICROS~1.0/Common7/IDE:/cygdriv
e/c/PROGRA~1/MICROS~1.0/VC/BIN:/cygdrive/c/PROGRA~1/MICROS~1.0/Common7/Tools:/cy
gdrive/c/PROGRA~1/MICROS~2/Windows/v6.1/bin:/cygdrive/c/WINDOWS/MICROS~1.NET/FRA
MEW~1/V20~1.507:/cygdrive/c/PROGRA~1/MICROS~1.0/VC/VCPACK~1:/usr/local/bin:/usr/
bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdri
ve/c/WINDOWS/System32/Wbem:/cygdrive/c/Mercurial:/cygdrive/g/jtreg/4.0/win32/bin
</pre>
<blockquote type="cite">
<pre wrap="">However, even with that fix, when I do make sanity the normal way the
exe isn't being built. And no matter what I try (echo, $(warning ...) I
can't get make to trace when I run make sanity the normal way.
</pre>
</blockquote>
<pre wrap=""><!---->
I wish I could say incremental builds worked well in OpenJDK7. In some
areas of the code it works, but other areas are problematical.
When I want to be sure, I use a 'big hammer' approach to start building
with a clean slate:
cd <to the top of your forest>
mkdir lose
mv build lose
\rm -rf lose
. $HOME/openjdk.env.bash
../openjdk.build.bash
My OpenJDK build using these scripts has already built as far
as jdk/make/sun/rmi
I put copies of my openjdk.env.bash and openjdk.build.bash files here:
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~tbell/OpenJDK-build-scripts/">http://cr.openjdk.java.net/~tbell/OpenJDK-build-scripts/</a>
You will need to modify these to suit the setup on your PC, but they
should serve as a guide.
I hope this helps.
Feel free to contact me off the alias with your full build log
if you need to. I will take a look at it.
Tim
</pre>
</blockquote>
</body>
</html>