On Tue, Jul 7, 2009 at 1:09 AM, Wesley W. Terpstra <span dir="ltr"><<a href="mailto:wesley@terpstra.ca">wesley@terpstra.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If I modify bin/platform to report amd64, the regressions run clean. The problem is that 'uname -m' reports i686 on both win32 and win64. I don't think there is a good way to tell the difference since msys/uname are 32-bit apps in both cases.</blockquote>
<div><br>I lie! Here's how to reliably detect the system arch/os:<br> <br></div></div>mlton -target XXX -verbose 2 | grep "target arch" | cut -d" " -f6 | tr "[A-Z]" "[a-z]"<br><br>
I'm only half joking. The regression script is going to use mlton -target XXX anyway. Why use bin/platform?<br><br>