You are not logged in.
Pages: 1
I git cloned the Meaty Skeleton from the OS Dev Wiki (https://wiki.osdev.org/Meaty_Skeleton). If I run build.sh, it says
i686-elf-gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory,After a bit of googling, I found that I have to update the system, so I did, still the same problem what package is it in?
Offline
Building a Cross-Compiler
Main article: GCC Cross-Compiler, Why do I need a Cross Compiler?
You must use a GCC Cross-Compiler in this tutorial as in the Bare Bones tutorial. You should use the i686-elf target in your cross-compiler, though any ix86-elf target (but no less than i386) will do fine for our purposes here.
You must configure your cross-binutils with the --with-sysroot option, otherwise linking will mysteriously fail with the this linker was not configured to use sysroots error message. If you forgot to configure your cross-binutils with that option, you'll have to rebuild it, but you can keep your cross-gcc.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Building a Cross-Compiler
Main article: GCC Cross-Compiler, Why do I need a Cross Compiler?
You must use a GCC Cross-Compiler in this tutorial as in the Bare Bones tutorial. You should use the i686-elf target in your cross-compiler, though any ix86-elf target (but no less than i386) will do fine for our purposes here.
You must configure your cross-binutils with the --with-sysroot option, otherwise linking will mysteriously fail with the this linker was not configured to use sysroots error message. If you forgot to configure your cross-binutils with that option, you'll have to rebuild it, but you can keep your cross-gcc.
Forgot to mention, I also did the bare bones tutorial, ignored the compilation errors and moved on, they were the same. I used this pre-compiled toolchain (https://github.com/alessandromrc/i686-e … s/releases). I just copied everything into the root folder with file-roller on sudo. Then I found that there are bin/ and lib/ inside the i686-elf subdir so I copied them using MC, as nautilus on root is buggy. I don't want to use the AUR packages, as they take too long to compile.
Offline
Pages: 1