<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I forgot and it is worth reminding everyone:<br><br><br>CM3_TARGET=foo cm3<br> does work<br> in sh/bash/Posix<br>Given config files and everything else.<br>We do have such config files.<br>"everything else" means cooperative cc/ld.<br>At the very least, it is good for "biarch" systems:<br><br> CM3_TARGET=I386_DARWIN cm3<br> CM3_TARGET=AMD64_DARWIN cm3<br><br><br>For these cases though, we should probably take a hint<br>from others:<br> cm3 -64 <br> cm3 --64 <br> cm3 -m64 <br> (andy number of dashes, followed by optional m, followed by 32 or 64<br>guides target toward 32bit or 64bit variant of host or default target)<br><br>also<br> CM3_TARGET=arbitrary cm3 -boot <br><br><br>But there should be a command line option besides the environment.<br><br><br>Appe's gcc is also nice, switches like -arch ppc -arch x86 etc.<br><br><br>Anyway, not a big deal..<br> - Jay<br><br><br><br><div><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: m3devel@elegosoft.com<br>Subject: cm3 -DTARGET=foo<br>Date: Fri, 30 Aug 2013 06:02:41 +0000<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">I'd like the above to work.<br><br>Or cm3 -target=foo or -target:foo.<br>The underlying implementation would be "like" -DTARGET=foo.<br><br>This doesn't work due to the order of evaluation, command line vs. config file vs. -D written to a file.<br><br>I don't have the change yet.<br><br>Any objection to the intent?<br><br>I wonder if it might subtlely reorder things though.<br><br><br> - Jay<br><br><br> </div></div> </div></body>
</html>