<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I never use any of the .sh files. I find .sh to be not a worthwhile language to use for much.</p>
<p>I only use the .py files, or the occasional very small .sh file that just runs a litte .py.</p>
<p><br>
</p>
<p>I very much recommend the .py files.</p>
<p><br>
</p>
<p>When I wrote upgrade.py, based on upgrade.sh, I slightly misunderstood.</p>
<p>So upgrade-full.sh is a close approximation (and look how trivial it is -- just calls others).</p>
<p><br>
</p>
<p> - Jay</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> M3devel <m3devel-bounces@elegosoft.com> on behalf of Rodney M. Bates <rodney_bates@lcwb.coop><br>
<b>Sent:</b> Thursday, October 6, 2016 3:03 PM<br>
<b>To:</b> Wolfgang Keller; rodney.m.bates@acm.org; m3devel<br>
<b>Subject:</b> Re: [M3devel] CM3 Next Problem (cm3 start msg)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
<br>
On 10/06/2016 05:08 AM, Wolfgang Keller wrote:<br>
> Under "scripts" I find a "upgrade.sh" script and also "make-src-update.sh", "make-src-files-update.sh". Which ones should I apply?<br>
><br>
<br>
upgrade.sh<br>
<br>
Jay, what do the other two do?<br>
<br>
> Are you saying the update script is using 5.8.6 cm3 to compile everything needed for the next version?<br>
><br>
<br>
yes.<br>
<br>
> - Wolfgang<br>
><br>
><br>
> Am 04.10.2016 um 20:55 schrieb Rodney M. Bates:<br>
>><br>
>><br>
>> On 10/04/2016 06:53 AM, Wolfgang Keller wrote:<br>
>>> This is a bit of a philosophical problem how to compile a compiler. I noticed several elements of the compiler package are written in M3, so this poses the question with what compiler to compile a compiler,when the compiler is needed to compile it? Also
there is the question what are the elemental libraries the compiler is referring to (runtime libraries) - without compiling them - and probably the 5.8.6 compiler refers to 5.8.6 runtime packages and linking them into the result, while the target system CM3
is located inside the latest Git system. This may cause confusion in references. So how to solve this?<br>
>>><br>
>><br>
>> Yes, almost all of the entire cm3 distribution, including the compiler and the<br>
>> libraries it uses, is written in Modula3. We work at keeping the latest version<br>
>> bootstrappable by the release compiler/libraries. In order to make some improvements,<br>
>> we've had to introduce compiler/library interdependencies that require nontrivial<br>
>> bootstrap process. The update.sh script takes care of this, if you want to<br>
>> compile the git version of everything. Don't be bothered by the amount of work<br>
>> it does. I recompiles some things two or three times, and takes quite a bit of<br>
>> time.<br>
>><br>
>> We are really overdue to package up a new release.<br>
>><br>
>>> - Wolfgang<br>
>>><br>
>>><br>
>>> Am 01.10.2016 um 03:50 schrieb Wolfgang Keller:<br>
>>>><br>
>>>> Hello Rodney<br>
>>>><br>
>>>> Coming back to the "next problem" series, I pick the following:<br>
>>>><br>
>>>> constant error reaction of "cm3" compiler program<br>
>>>><br>
>>>> 1) I am working with and referring to the pre-release which I downloaded from GitHub<br>
>>>><br>
>>>> d5.9.0 AMD64_LINUX as of Aug 19 2014; <<a href="https://github.com/modula3/cm3/releases/tag/verification-release-x86_64" id="LPlnk315902" previewremoved="true">https://github.com/modula3/cm3/releases/tag/verification-release-x86_64</a>>I run Linux 4.4.0-36
in Ubuntu 14.04.
<div id="LPBorder_GT_14758970849660.1624999732215766" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14758970849600.6529845229967481" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14758970849630.4063434069821308" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14758970849630.5378544091933759" style="background-color: rgb(255, 255, 255); height: 120px; position: relative; margin: auto; display: table; width: 120px;">
<a id="LPImageAnchor_14758970849630.6308453696955656" href="https://github.com/modula3/cm3/releases/tag/verification-release-x86_64" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14758970849630.21247173984778245" style="display: inline-block; max-width: 250px; max-height: 250px; height: 120px; width: 120px; border-width: 0px; vertical-align: bottom;" width="120" height="120" src="https://avatars3.githubusercontent.com/u/7759860?v=3&s=400"></a></div>
</td>
<td id="TextCell_14758970849640.32340571516672667" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14758970849640.6492558325099438"></div>
<div id="LPTitle_14758970849640.3169921635800279" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14758970849650.020755637869431798" href="https://github.com/modula3/cm3/releases/tag/verification-release-x86_64" target="_blank" style="text-decoration: none;">modula3/cm3</a></div>
<div id="LPMetadata_14758970849650.02471574657748965" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
github.com</div>
<div id="LPDescription_14758970849650.6056234143053221" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
cm3 - Critical Mass Modula-3</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
>>>><br>
>>>> 2) Problem: If "cm3" is started with unspecific or without parameter, the constant reaction is a fundamental error message:<br>
>>>><br>
>>>> ***<br>
>>>> *** runtime error:<br>
>>>> *** Exception "PathnamePosix.CheckedRuntimeError" not in RAISES list<br>
>>>> *** file "../src/os/POSIX/PathnamePosix.m3", line 98<br>
>>>> ***<br>
>>>><br>
>>>> This error does not appear to refer to any source-text input.<br>
>>>><br>
>>>><br>
>>>> Regards<br>
>>>><br>
>>>> - Wolfgang<br>
>>>><br>
>>>><br>
>>><br>
>><br>
><br>
><br>
<br>
-- <br>
Rodney Bates<br>
rodney.m.bates@acm.org<br>
_______________________________________________<br>
M3devel mailing list<br>
M3devel@elegosoft.com<br>
<a href="https://m3lists.elegosoft.com/mailman/listinfo/m3devel" id="LPlnk703050" previewremoved="true">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a><br>
</div>
</span></font></div>
</div>
</body>
</html>