<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I added it to python/pylib.py and I expected CM3_TARGET to override.<br>The code in python/pylib.py:<br><br>elif UName.startswith("darwin"):<br><br> # detect the m3 platform (Darwin runs on ppc32, ppc64, x86, amd64)<br> if UNameArchP == "powerpc":<br> Host = "PPC_DARWIN"<br> elif re.match("i[3456]86", UNameArchP):<br> if os.popen("sysctl hw.cpu64bit_capable").read() == "hw.cpu64bit_capable: 1\n":<br> Host = "AMD64_DARWIN"<br> else:<br> Host = "I386_DARWIN"<br> elif UNameArchP == "x86-64":<br> Host = "AMD64_DARWIN"<br> elif UNameArchP == "powerpc64":<br> Host = "PPC64_DARWIN"<br><br><br>That was mostly guessing, a few things in sysctl report 64bit stuff, but nothing in uname seems to indicate it.<br><br>I guess I'll update sysinfo.sh and defs.sh..yuck.<br>I opened tickets.<br><br> - Jay<br><br>> Date: Sat, 8 Aug 2009 22:44:18 +0200<br>> From: wagner@elegosoft.com<br>> To: jay.krell@cornell.edu<br>> CC: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] make-dist vs. $CM3_TARGET/AMD64_DARWIN<br>> <br>> Quoting Jay K <jay.krell@cornell.edu>:<br>> <br>> > I tried to make AMD64_DARWIN distribution with:<br>> ><br>> > PATH=/cm3.amd64/bin:$PATH CM3CVSUSER=jkrell SHIPRC=y <br>> > CM3_TARGET=AMD64_DARWIN ./make-dist.sh<br>> ><br>> > I got a bunch of files with I386_DARWIN in their names.<br>> <br>> Have you added support for all those new AMD64 targets to sysinfo.sh?<br>> I assume you expect CM3_TARGET to override everything, but I'm not sure<br>> that it will work everywhere.<br>> <br>> You should trace with set -x.<br>> <br>> Olaf<br>> -- <br>> Olaf Wagner -- elego Software Solutions GmbH<br>> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany<br>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95<br>> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin<br>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<br>> <br></body>
</html>