<div dir="ltr">
<div>Greetings,</div><div><br></div><div>if there are any more wondering people about how to get the toolchain ready, what worked for me (running Ubuntu 20.04 in WSL) was to execute the
<a href="https://d3s.mff.cuni.cz/files/teaching/nswi004/download/toolchain-static.sh" title="Download https://d3s.mff.cuni.cz/files/teaching/nswi004/download/toolchain-static.sh" target="_blank">toolchain-static.sh</a> script (some packages were needed to be installed first). That created a temp folder which contains quite a lot of stuff but all that is needed is to copy the temp/build-mipsel-linux-gnu/PKG/opt/mff-nswi004 to your own /opt directory. This will make it ready for the config files to locate it correctly.<br></div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr">Eliáš Cizl<br></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 13 Oct 2020 at 10:11, Jura Pelc <<a href="mailto:jirik.pelc1998@gmail.com">jirik.pelc1998@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">for all those who want to use Windows for coding your operating system. I've done some experimenting and I was able to build and run a01 on WSL. </div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">So I want to share my first results and most important I want to find out if there is any other catch.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I am using ArchWSL 1 (<a href="https://github.com/yuk7/ArchWSL" target="_blank">https://github.com/yuk7/ArchWSL</a>).</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"> - Advantage over WSL from MS Store is, that you can download it to a custom directory. Store one will be downloaded to C disk and it can consume nontrivial storage space.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">From page <a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a>:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"> - I used <a href="https://d3s.mff.cuni.cz/files/teaching/nswi004/download/toolchain-dynamic.sh" target="_blank">toolchain-dynamic.sh</a> to get cross-compiler, it took about 20 minutes of both super fast shell and static frozen like package managing.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"> - And msim from <a href="https://github.com/d-iii-s/msim" target="_blank">https://github.com/d-iii-s/msim</a> (it needed some packages to download, but it was kind enough and give me precise package name)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">All can be prepared within 2 to 3 hours. Based on how skilled you are with Linux. Bu</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">The environment is running for both <a href="https://d3s.mff.cuni.cz/teaching/nswi004/exercises" target="_blank">examples</a> and a01 and I didn't find any problem so far.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">The question is if there are any other functions or features I need to use that can cause a problem. I don't want to find out in the middle of the deadline rush that I missed some functionality and I am unable to finish the task.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">I would like to take this as a partial Proof of concept. And I am confident enough to continue.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">And if you try to do it on yourself please notify me about your success or fail (or both).</div><div>-- <br></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px"><font face="georgia, serif"><br></font></span></div><div><font face="georgia, serif"><span style="font-size:12.8px">S pozdravem JiÅà Pelc</span></font></div><div><font face="georgia, serif"><span style="font-size:12.8px">Matematicko-fyzikálnà fakulta</span></font></div><div><font face="georgia, serif"><span style="font-size:12.8px">Univerzita Karlova</span></font></div></div></div></div></div></div>
_______________________________________________<br>
NSWI004 mailing list<br>
<a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a><br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
</blockquote></div>