<div>Hi!</div><div><br /></div><div> Yes, yes...</div><div><br /></div><div>But today building cm3-boot-unix64.cpp is not trivial process</div><div><br /></div><div>Best regards, Victor Miasnikov</div><div><br /></div><div>29.01.2024, 11:30, "Jay K" <jayk123@hotmail.com>:</div><blockquote><div dir="ltr">
<ul>
<li style="color:rgb( 0 , 0 , 0 );font-size:12pt">
<span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 0 , 0 , 0 );font-size:12pt">unix64le</span></li><li style="color:rgb( 36 , 36 , 36 );font-size:15px">
<div><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px">All files are relative
universal </span></div>
</li></ul>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="color:rgb( 0 , 0 , 0 );font-size:12pt"><br />
</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="color:rgb( 0 , 0 , 0 );font-size:12pt">Unix is Linux/Solaris/MacOS/HPUX/BSD. </span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="color:rgb( 0 , 0 , 0 );font-size:12pt">64 is 64bit.</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px">LE
is little endian</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px">Almost
universal. 🙂</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px"><br />
</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px">I'd
like to make them more univesal but work is quite stalled.</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px"> On
the endian part it is the floating point stuff and/or bitfields in RT0.</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px"> For
word size, ideally raise the codegen interface and C code a bit to use size_t instead of uint64.</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px">(And
more so, I'd like Linux GC to use mmap instead of sbrk and have a multi-level (2? 3? 4? 5? dynamic?) to handle arbirarily scattered allocations.</span></div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><span style="background-color:rgb( 255 , 255 , 255 );color:rgb( 36 , 36 , 36 );font-size:15px"><br />
</span></div>
<ul>
<li style="color:rgb( 36 , 36 , 36 );font-size:15px">
<span style="color:rgb( 36 , 36 , 36 );font-size:15px">Jay</span></li></ul>
<div id="dd8fcbc3886f6beba9d56dd35eeb1be5appendonsend"></div>
<div style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt">
<br />
</div>
<hr style="display:inline-block;width:98%" />
<div id="f2e387f28ef856c18dfa722bbcbb9bfadivRplyFwdMsg" dir="ltr"><span style="color:rgb( 0 , 0 , 0 );font-family:'calibri' , sans-serif;font-size:11pt"><b>From:</b> M3devel <<a href="mailto:m3devel-bounces@elegosoft.com" target="_blank">m3devel-bounces@elegosoft.com</a>> on behalf of <a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a> <<a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a>><br />
<b>Sent:</b> Thursday, January 25, 2024 10:49 PM<br />
<b>To:</b> <a href="mailto:m3devel@elegosoft.com" target="_blank">m3devel@elegosoft.com</a> <<a href="mailto:m3devel@elegosoft.com" target="_blank">m3devel@elegosoft.com</a>>; Paul McJones <<a href="mailto:paul@mcjones.org" target="_blank">paul@mcjones.org</a>><br />
<b>Subject:</b> [M3devel] ARM64_DARWIN d5.11.9-ZZYYXX-<span class="1f1ea193f6735cf0wmi-callto">20230928</span>_16-50/cm3-d5.11.9-ZZYYXX-<span class="1f1ea193f6735cf0wmi-callto">20230928</span>_16-50__cm3-boot-unix64le.7z Re: Issue #1176 macOS 14.2.1 on M2 ARM: cannot redefine readonly global symbol: M3_BACKEND_MODE</span>
<div> </div>
</div>
<div>+ paul@</div>
<div> </div>
<div>Hi!</div>
<div> </div>
<div> I see</div>
<div><a href="https://github.com/modula3/cm3/issues/1176#issuecomment-1911335432" target="_blank">https://github.com/modula3/cm3/issues/1176#issuecomment-1911335432</a></div>
<div> </div>
<div>P.MPcJ.}} >> I ( i.e. Paul McJones) commented out M3_BACKEND_MODE line in ARM64_DARWIN and started a fresh build, which seemed to complete normally.</div>
<div>P.MPcJ.}} >> Time to start the Tutorial now.</div>
<div> </div>
<div> I.e. there is all good ?</div>
<div> </div>
<div>VVM}}} >>> I ( i.e. VVM) will try resend some info in near future </div>
<div> </div>
<div> I hope this may / can be usefull:</div>
<div><a href="https://github.com/VictorMiasnikov/cm3/releases" target="_blank">https://github.com/VictorMiasnikov/cm3/releases</a></div>
<div> </div>
<div> Var A</div>
<div> </div>
<div> "Make utility free way":</div>
<div> </div>
<div class="42136c7746799323a87816e8066bc02elementToProof"><a href="https://github.com/VictorMiasnikov/cm3/releases/download/d5.11.9-ZZYYXX-20230928_16-50/cm3-d5.11.9-ZZYYXX-20230928_16-50__cm3-boot-unix64le.7z" target="_blank">https://github.com/VictorMiasnikov/cm3/releases/download/d5.11.9-ZZYYXX-20230928_16-50/cm3-d5.11.9-ZZYYXX-20230928_16-50__cm3-boot-unix64le.7z</a></div>
<div> </div>
<div>1) Build cm3[.exe] from cm3-boot-unix64le.cpp (?)</div>
<div>( This is mono-source_code file)</div>
<div> </div>
<div>g++ -g -pthread -c cm3-boot-unix64le-d5.11.<span class="1f1ea193f6735cf0wmi-callto">9-20230928</span>.cpp</div>
<div>g++-10 -g -pthread -o cm3 cm3-boot-unix64le-d5.11.<span class="1f1ea193f6735cf0wmi-callto">9-20230928</span>.o</div>
<div> </div>
<div>2) Run</div>
<div>Boot2.py c ARM64_DARWIN</div>
<div> </div>
<div> </div>
<div> Var B</div>
<div> </div>
<div> "Tutorial Way":</div>
<div> </div>
<div> This bootstap</div>
<div><a href="https://github.com/VictorMiasnikov/cm3/releases/download/d5.11.9-ZZYYXX-20231117_17-52/cm3-boot-AMD64_LINUX-None.tar.xz" target="_blank">https://github.com/VictorMiasnikov/cm3/releases/download/d5.11.9-ZZYYXX-20231117_17-52/cm3-boot-AMD64_LINUX-None.tar.xz</a></div>
<div> plus this source code</div>
<div><a href="https://github.com/VictorMiasnikov/cm3/archive/refs/tags/d5.11.9-ZZYYXX-20231117_17-52.tar.gz" target="_blank">https://github.com/VictorMiasnikov/cm3/archive/refs/tags/d5.11.9-ZZYYXX-20231117_17-52.tar.gz</a></div>
<div> </div>
<div> is ready for LLVM13</div>
<div> </div>
<div> They all are good and for ARM64_DARWIN</div>
<div>"Linux" and "le" has been used in naming as tradition. All files are relative universal </div>
<div> </div>
<div> </div>
<div>Best regards, Victor Miasnikov</div>
<div> </div>
<div>25.01.2024, 17:36, "<a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a>" <<a href="mailto:vvm@tut.by" target="_blank">vvm@tut.by</a>>:</div>
<blockquote>
<div>- все</div>
<div> </div>
<div>Hi!</div>
<div><br />
<br />
<a class="3445f162924c6ad0eb23be99fbb39169OWAAutoLink" id="6c15aff212187750167393f12f0a8b54OWA23f2b25c-c5a3-d1ab-b0a8-3bad3df1dac1" href="https://github.com/modula3/cm3/issues/1176" target="_blank">macOS 14.2.1 on M2 ARM: cannot redefine readonly global symbol: M3_BACKEND_MODE · Issue #1176 · modula3/cm3 · GitHub</a></div>
<div>( <a class="3445f162924c6ad0eb23be99fbb39169OWAAutoLink" id="6e03f324c889881c887d0fe0bb84f23bOWA45275869-84a0-ff0b-e4af-705d50de34dd" href="https://github.com/modula3/cm3/issues/1176" target="_blank">
https://github.com/modula3/cm3/issues/1176</a> )<br />
<br />
</div>
<div>Best regards, Victor Miasnikov</div>
<div> </div>
,
<p style="margin-bottom:0;margin-top:0">_______________________________________________<br />
M3devel mailing list<br />
<a class="3445f162924c6ad0eb23be99fbb39169OWAAutoLink" id="ecb79ac36572377eb0888d175d7f3fe7OWA0eb64bc1-6ca4-3265-7dd4-906a05ba644f" href="mailto:M3devel@elegosoft.com" target="_blank" style="margin-bottom:0px;margin-top:0px">M3devel@elegosoft.com</a><br />
<a class="3445f162924c6ad0eb23be99fbb39169OWAAutoLink" id="f3ef703b6e13ff362749f3ccb95a1673OWAafda85bb-c966-dabb-1a98-92e1076b0f70" href="https://m3lists.elegosoft.com/mailman/listinfo/m3devel" target="_blank" style="margin-bottom:0px;margin-top:0px">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a></p>
</blockquote>
</div>
</blockquote>