[NSWI004] installing toolchain and msim
Vojtech Horky
horky at d3s.mff.cuni.cz
Fri Oct 9 21:10:40 CEST 2020
Hello,
if you are on Manjaro, then you can also try installing/building from
AUR [1,2,3].
[1] https://aur.archlinux.org/packages/cross-mipsel-linux-gnu-binutils/
[2] https://aur.archlinux.org/packages/cross-mipsel-linux-gnu-gcc/
[3] https://aur.archlinux.org/packages/msim-git/
Cheers,
- VH
Dne 09. 10. 20 v 21:02 Martin Cífka napsal(a):
> Hi, I had the same problem, but when trying to run 'make' inside the
> examples/first directory (see Ex: Kernel Intro
> <https://link.getmailspring.com/link/766CF772-C447-4020-8CF7-545AF2C222A5@getmailspring.com/0?redirect=https%3A%2F%2Fd3s.mff.cuni.cz%2Fteaching%2Fnswi004%2Fexercises-kernel-intro%2F&recipient=bnN3aTAwNEBkM3MubWZmLmN1bmkuY3o%3D>),
> make responded also with the following line:
> make[1]: /home/m/.local//bin/mipsel-linux-gnu-gcc: Command not found
>
> So just copying the contents of '/./usr/lib/' directory of the
> toolchain archive to '.local' inside my home directory worked for me.
>
> Martin
>
> On Oct 9 2020, at 5:23 pm, Pavel Vigilev <p.vigilev at gmail.com> wrote:
>
> Hello,
> I would like to ask you how to install toolchain and msim to my
> computer. There are two scripts on the web-page. I executed the
> first one and it created a .tar.gz archive, but I am not sure what
> to do with it. There are /usr/lib directories inside but I am not
> sure where I have to put them. If I merge them with my /usr it still
> does not work.
> Also, I tried to examine what directory configure.py --toolchain
> wants, but I am still not sure (script in the assignment directory).
> Did anyone have this problem?
>
> Also, I tried to install msim, but the ./configure has output:
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating config.h
> config.status: executing default-1 commands
>
> So how to enable this options or what to do with this?
> I am using Manjaro with gcc-10.2.0.
>
> Regards
> Pavel Vigilev
>
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
> Sent from Mailspring
>
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
More information about the NSWI004
mailing list