Error: Couldn't find an i386-*-elf version of GCC/binutils.

I want to install xv6-public. I followed all these steps but I get the error. I tried other method but they don't work as well. Device: Mac m1 , macos: sonoma 14.2 Virtualization software: UTM Ubuntu.
No description
3 Replies
Sanchari
SanchariOP7mo ago
Now I get stuck in step 4 root@sanchari-QEMU-Virtual-Machine:/home/sanchari# apt-get install libc6-dev:i386 Reading package lists... Done Building dependency tree... Done Reading state information... Done Package libc6-dev:i386 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libcrypt-dev libnsl-dev rpcsvc-proto E: Package 'libc6-dev:i386' has no installation candidate
dys 🐙
dys 🐙7mo ago
Generally apt is for managing Linux systems, & libc6-dev:i386 is a Debian package. Looking at the README, you'll need a cross compiler & the make commands are for building on a Linux system. Also, the last commit to the project was six years ago. If you're going to be cross compiling anyway, why not work from the RISC-V port? As for what your exact command should be to compile, I don't know Macs (or C) that well.
Sanchari
SanchariOP7mo ago
Ok Thank you
Want results from more Discord servers?
Add your server