<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'><div>Once it is working, the way you use it is one of:</div><div><br></div><div>./do-cm3-all.py c buildship</div><div><br></div><div>or change M3_BACKEND_MODE to "C" in the config file.</div><div><br></div><div>and it handles nested functions even...</div><div><br></div><div>You can bootstrap with</div><div>./boot1.py c</div><div><br></div><div>which gives you a directory of c files and a makefile.</div><div>cd there and make or nmake.</div><div><br></div><div><br></div><div>But let me fix it first. It got broken recently.</div><div><br></div><div> - Jay<br><br><br></div><div><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: hendrik@topoi.pooq.com; m3devel@elegosoft.com<br>Date: Wed, 3 Jun 2015 22:58:50 +0000<br>Subject: Re: [M3devel] Are all 5 gcc branches used?<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><div>It was totally working.</div><div><br></div><div><br></div><div>I built the whole Darwin x86/amd64 system, ran gui apps.</div><div>Got AMD64_NT working.</div><div>Built all four variations of Solaris I think.</div><div>Maybe cross bootstrapped but didn't c_compile other systems.</div><div>I386_NT was probably working.</div><div><br></div><div><br></div><div>And now if you try it there are assertion failures, like about right shifting</div><div>a signed type. Some errors about duplicate typedefs.</div><div><br></div><div><br></div><div>It has bit-rotted slightly. Maybe with the Unicode work?</div><div><br></div><div><br></div><div>Anyway, I'll repair it.</div><div><br></div><div><br></div><div>It really was fully working.</div><div>Debugging was getting better, better than non-m3gdb systems.</div><div>There is still a uniquifier appended to every local.</div><div>In case you have;</div><div><br></div><div>int a;</div><div>{ int a;</div><div>{ int a;</div><div>}</div><div>}</div><div>}</div><div><br></div><div>we give you</div><div>int a_1;</div><div>int a_2;</div><div>int a_3;</div><div><br></div><div><br></div><div>I need to fix it to only uniqueify in the presence of duplicates.</div><div><br></div><div><br></div><div>Globals should be made debuggable instead of just being an array of bytes.</div><div>Other than globals, structs have fields.</div><div>TEXTs aren't viewable I think.</div><div><br></div><div><br></div><div>But for systems like Darwin and NT and HP-UX that don't support m3gdb, debugging is already better.</div><div>Build times are noticeably regressed.</div><div><br></div><div><br></div><div> - Jay<br><br><br><br></div><div>> Date: Wed, 3 Jun 2015 15:07:46 -0400<br>> From: hendrik@topoi.pooq.com<br>> To: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] Are all 5 gcc branches used?<br>> <br>> On Wed, Jun 03, 2015 at 06:04:04PM +0000, Jay K wrote:<br>> > <br>> > Or we could ditch gcc entirely and use the C backend and/or LLVM, <br>> > hopefully both unpatched. :)<br>> <br>> Weren't you working on a C backend for Modula a year or two ago?<br>> What happened to it? Is it available for use? If so, where and how?<br>> <br>> -- hendrik<br></div> </div></div> </div></body>
</html>