<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Ken,<div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 7, 2018 at 9:24 AM <<a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="font-family:Helvetica,Arial,sans-serif;font-size:12px"><br>To recap,<div><br></div><div>I was able to build the older Debian package (4.10.2.2614) and, with a simple addition to config.guess, the Squeak.Org vm (4.16.5-3765) under aarch64 Armbian Linux.   This withOUT 32 bit libs.</div><div><br></div><div>I have started down the trail toward oscogvm/build.linux64x64/squeak.stack.spur.</div><div><br></div><div>The build/mvm file has x86 flags ("TARGET_ARCH=-m64" "-msse2"), and I need to set a number of flags, based on email with Tim (Thanks!) to set __arm64__ and ARM64 and adjust sqUnixMain.c for aarch64.</div><div><br></div><div>Given that I have not done C/Bash/Make for a couple of decades, any help in deciding where these flags are set and which of the 4736 gcc flags need to be set would be most welcome.  The "-march=native" flag certainly won't do for a cross-platform build.</div><div><br></div><div>So the proximate bits I see are</div><div>  [1] what flags should be set in mvm (cross-plartform)</div><div>  [2] what flags set in config.guess</div><div>  [3] what aarch specifics are needed in sqUnixMain.c (and possibly platform/unix/vm/include_ucontext,h)</div><div><br></div><div>After that, of course, is squeak.cog.spur and relearning gdb, sigh.</div></div></blockquote><div><br></div><div>ARM8 is a new ISA so at this point development will have to move to the Simulator and write a back end in the CogAbstractInstruction framework. One will also have to create a processor simulator plugin, e.g. GdbARM64Plugin, to complement GdbARMPlugin, BochsX64Plugin et al.  And this level of development is a lot of fun. See <a href="https://dl.acm.org/citation.cfm?id=3281295">https://dl.acm.org/citation.cfm?id=3281295</a>.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="font-family:Helvetica,Arial,sans-serif;font-size:12px"><div><br></div><div>Just muddling through,</div><div>-KenD</div><div><blockquote><br>----- Original Message -----<br><div id="gmail-m_5006635143429433350origionalMessageFromField" style="width:100%;background-color:rgb(228,228,228)"><div style="font-weight:bold">From:</div> "Eliot Miranda" <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></div><br><div id="gmail-m_5006635143429433350origionalMessageToField" style="font-weight:bold">To:</div><<a href="mailto:Ken.Dickey@whidbey.com" target="_blank">Ken.Dickey@whidbey.com</a>><br><div id="gmail-m_5006635143429433350origionalMessageSentField" style="font-weight:bold">Cc:</div><br><div style="font-weight:bold">Sent:</div>Thu, 6 Dec 2018 06:27:34 -0800<br><div id="gmail-m_5006635143429433350origionalMessageSubjectField" style="font-weight:bold">Subject:</div>Re: [Vm-dev] [Vm-beginners] aarch64 squeak-vm<br><br><br>
Hi Ken,<br>
<br>
    I just subscribed to the list.  Could you send your message again, specifying what exactly you want help with (understanding what’s going on, how to find the set if predefined macros on your system, where to look for the relevant definitions, etc)?  Then I’ll respond.<br>
<br>
Cheers<br>
_,,,^..^,,,_ (phone)<br>
Eliot<br><br>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div>