cfenollosa / os-tutorial

How to create an OS from scratch
BSD 3-Clause "New" or "Revised" License
26.62k stars 3.24k forks source link

Cross-compiler not running #131

Open zurgeg opened 4 years ago

zurgeg commented 4 years ago

I have installed binutils like said and it appears that it does not work because this happens:

i386-elf-gcc: command not found

Any fixes?

Menotdan commented 4 years ago

Is the command in your path? Also there is pre built tools here https://github.com/lordmilko/i686-elf-tools/releases

Make sure to add the bin folder from the zip to your path, then change the commands to i686-elf-(whatever it was)

zurgeg commented 4 years ago

actually, I think it's easier to just use the files from within the unzipped folder.