我正在阅读有关在http://wiki.osdev.org/Bare_Bones上制作操作系统的教程。当我尝试使用以下命令链接 boot.o 和 kernel.o 时:i686-elf-gcc -T linker.ld -o myos.bin -ffreestanding -O2 -nostdlib boot.o kernel.o -lgcc,我得到了这个错误:
collect2: fatal error: cannot find 'ld'
compilation terminated.
我刚刚安装了带有gcc-5.2.1和binutils-2.25.1的全新 Ubuntu 15.10 。我已经在互联网上搜索了答案,但没有任何帮助。