<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="3">
<div>I’ve been building the JDK for years through the Sun partner program using MKS.  Now I’m trying to build it using cygwin.  I’ve gotten through the obvious path errors to the point that the make starts to run.  I’m getting a lot of errors, but two in particular
seem like they should be easy to diagnose.  I’m sure I’m missing something simple.</div>
<div><font size="2"> </font></div>
<div>1. Errors that seem related to parameter parsing by gnumake or bash:</div>
<div> </div>
<div>   C:/Java/Jdkdrive/cygwin/bin/tr: missing operand after `[A-Z] [a-z]'</div>
<div>   Two strings must be given when translating.</div>
<div>   Try `C:/Java/Jdkdrive/cygwin/bin/tr --help' for more information.</div>
<div><font size="2"> </font></div>
<div>This translate pattern only seems to appear once in the various JDK make files:</div>
<div> </div>
<div>   jdk\make\common\shared\Defs-control.gmk:</div>
<div>  BUNDLE_DATE := $(shell $(DATE) '+%d_%b_%Y' | $(TR) "[A-Z]" "[a-z]")</div>
<div><font size="2"> </font></div>
<div>It seems as though two parameters were collapsed into one. </div>
<div> </div>
<div> </div>
<div>2. Problem with printf in make files:</div>
<div><font size="2"> </font></div>
<div>This string appears in the output many times:</div>
<div>   n%-60.60snn#####</div>
<div><font size="2"> </font></div>
<div>This seems to originate from this or similar code in  make\Defs-internal.gmk:</div>
<div><font size="2"> </font></div>
<div>define MakeStart</div>
<div>$(PRINTF) "\n\n%s\n%s\n##### %-60.60s #####\n%s\n" \</div>
<div>"########################################################################" \</div>
<div>"########################################################################" \</div>
<div>"Entering $1 for target $2" \</div>
<div>"########################################################################"</div>
<div>endef</div>
<div> </div>
<div><font size="2"> </font></div>
<div><font size="2"> </font></div>
<div>Any ideas what I might have done wrong?</div>
<div><font size="2"> </font></div>
<div>Software versions:</div>
<ul style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 36pt; ">
<li>latest cygwin, version 1.7.1, which I just downloaded this week.</li><li>GNU Make is version 3.80, source downloaded from GNU a long time ago.  Rebuilt this week setting the cygwin option instead of the mks option.</li><li>Windows 7, 64-bit OS. (but I’m using 32-bit versions of the utilities).</li></ul>
<div><font size="2"> </font></div>
<div><font size="2"> </font></div>
<div><font size="2"> </font></div>
</font>
</body>
</html>