<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Depending on C is VASTLY preferable to depending on C--.<br>C is WIDELY understood, studied, implemented, optimized.<br>C-- is extremely "small" in comparison -- in terms of how many people have heard of it, understand it well, have implemented it.<br><br><br>Generating C should be our portable/slow solution, to replace gcc/m3cc/m3cg.<br>Extending our existing backend to other targets is probably then a good idea, to speed up the compiler.<br>It would be really great if our backend could inline though.<br><br><br> - Jay<br><br><hr id="stopSpelling">Date: Sun, 5 Jun 2011 17:16:58 +0100<br>From: dabenavidesd@yahoo.es<br>To: ttmrichter@gmail.com; m3devel@elegosoft.com; jay.krell@cornell.edu<br>Subject: Re: [M3devel] Problems building CM3 from trunk.<br><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit" valign="top">Hi all:<br>
I would myself expect in m3core just not Unix nor Win interfaces (or
WeakRef), neither necessarily the Thread interface, I mean if we are
tied to the language definition, this are part of the standard
libraries and by that I mean as are IO and Floating point standard
interfaces. However Unix interfaces are not necessarily there too (as
are not part of the language it self), perhaps the possible c--backend
code generator interface could be there to let m3core interact with
appropriated data structures (dtoa) and maybe the higher level
interfaces (not UNSAFE) in libm3 at least at INTERFACE level. That is I
would prefer to interact via some sort of C-- (instead of C, well if
not verified, at least one of them, or the minimum bit possible of it). The idea is not to
break the dependency in C, but replace by C-- as much as possible, so it's good to start
there I believe.<br>
Thanks in advance<br><br>--- El <b>sáb, 4/6/11, Jay K <i><jay.krell@cornell.edu></i></b> escribió:<br><blockquote style="margin-left:5px;padding-left:5px"><br>De: Jay K <jay.krell@cornell.edu><br>Asunto: Re: [M3devel] Problems building CM3 from trunk.<br>Para: ttmrichter@gmail.com, "m3devel" <m3devel@elegosoft.com><br>Fecha: sábado, 4 de junio, 2011 22:28<br><br><div id="ecxyiv1607822434">
<style>
.ExternalClass #ecxyiv1607822434 .ecxyiv1607822434hmmessage P
{padding:0px;}
.ExternalClass #ecxyiv1607822434 .ecxyiv1607822434hmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Your m3core is not up to date.<br><br> - Jay<br><br><hr id="ecxyiv1607822434stopSpelling">Date: Sun, 5 Jun 2011 10:19:13 +0800<br>From: ttmrichter@gmail.com<br>To: m3devel@elegosoft.com<br>Subject: [M3devel] Problems building CM3 from trunk.<br><br><blockquote class="ecxyiv1607822434ecxwebkit-indent-blockquote" style="border:medium none;padding:0px"><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">=== package /home/michael/Development/Modula3/cm3/m3-libs/libm3 ===</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> +++ cm3 -build -DROOT='/home/michael/Development/Modula3/cm3' $RARGS && cm3 -ship $RARGS -DROOT='/home/michael/Development/Modula3/cm3' +++</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">--- building in AMD64_LINUX ---</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"><br></font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">ignoring ../src/m3overrides</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"><br></font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">new source -> compiling ProcessPosixCommon.m3</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">"../src/os/POSIX/ProcessPosixCommon.m3", line 75: unknown qualification '.' (Fork)</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">1 error encountered</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">new source -> compiling LowPerfTool.m3</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">"../src/perftool/POSIX/LowPerfTool.m3", line 37: unknown qualification '.' (Fork)</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">"../src/perftool/POSIX/LowPerfTool.m3", line 39: case labels out of range</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">"../src/perftool/POSIX/LowPerfTool.m3", line 44: case labels out of range</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">3 errors encountered</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">compilation failed => not building library "libm3.a"</font></div>
<div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">Fatal Error: package build failed</font></div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> *** execution of cm3 -build -DROOT='/home/michael/Development/Modula3/cm3' $RARGS && cm3 -ship $RARGS -DROOT='/home/michael/Development/Modula3/cm3' failed ***</font></div>
</blockquote><div><br></div><div>The cm3 I'm using for this build is:</div><div><br></div><blockquote class="ecxyiv1607822434ecxwebkit-indent-blockquote" style="border:medium none;padding:0px"><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">$ cm3 -version</font></div>
</div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace">Critical Mass Modula-3 version d5.9.0</font></div></div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> last updated: 2010-07-21</font></div>
</div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> compiled: 2011-01-31 11:18:56</font></div></div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> configuration: /usr/local/cm3/bin/cm3.cfg</font></div>
</div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> host: AMD64_LINUX</font></div></div><div><div><font class="ecxyiv1607822434ecxApple-style-span" face="'courier new', monospace"> target: AMD64_LINUX</font></div>
</div></blockquote><div><br></div><div>Does anybody have any suggestions what I'm doing wrong here?</div><div><br></div>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.<br>
</div></blockquote></td></tr></tbody></table> </body>
</html>