Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup i686-elf cross-compiler on linux?

When I was following the Bare Bones tutorial on the OSDev Wiki. I got the error:

i686-elf-as: command not found

I tried following the GCC Cross-compiler instructions when I run the command:

../binutils-x.y.z/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --disable-werror

I got the error:

bash: ../binutils-x.y.z/configure: No such file or directory.

How can I setup my GCC cross-compiler to work with this tutorial?

like image 991
Will-Opare Avatar asked Sep 03 '25 04:09

Will-Opare


1 Answers

Replace x.y.z in the command with the binutils version.

like image 139
robbie Avatar answered Sep 04 '25 19:09

robbie