Open sagarsakre opened 11 years ago
What version of rust are you using?
sagar.sakre@sagar-vm ~/rust-bin/bin $ ./rustc -v ./rustc 0.6 (4f6285f 2013-06-02 22:31:36 -0700)
i couldn't clone binutils so i manually downloaded and compiled from http://ftp.gnu.org/gnu/binutils/binutils-2.23.tar.gz
I get the same error.
make
rustc -O --target i386-intel-linux --lib -o main.o -c main.rs
error: no item found for `sized`
error: aborting due to previous error
libc++abi.dylib: terminating with uncaught exception of type rust_task*
rustc -v
rustc 0.6 (38e0574 2013-06-14 16:50:53 -0700)
host: x86_64-apple-darwin
This fixes it zero.rs
I followed the steps given on README.md After all the prerequisites I cloned the rustboot exported all the PATH $~ echo $PATH /home/sagar.sakre/binutils/i386-elf/bin/:/home/sagar.sakre/binutils/bin/:/home/sagar.sakre/rust-bin/bin/:/opt/qemu/bin/4.4.3/bin/:/opt/qemu/bin/:/home/nithin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I got error while make.. sagar.sakre@sagar-vm ~ $ cd rustboot/ sagar.sakre@sagar-vm ~/rustboot $ ls LICENSE.txt linker.ld loader.asm main.rs Makefile README.md runtime.asm zero.rs sagar.sakre@sagar-vm ~/rustboot $ make nasm -o loader.bin -f bin loader.asm nasm -f elf32 -o runtime.o runtime.asm rustc -O --target i386-intel-linux --lib -o main.o -c main.rs error: no item found for
sized
error: aborting due to previous error make: *\ [main.o] Error 101can you please tel me where I am goin wrong?