Open letsch323letsch opened 10 years ago
What operating system are you on? Did you remember to install binutils:
*For nix**
$ wget http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz
$ tar xf binutils-2.24.tar.gz
$ cd binutils-2.24
$ ./configure --target=i386-elf --disable-werror --prefix=/your/home/directory
$ make && make install
As far as windows is concerned, I can't help you.
I had installed binutils. But I try to install it again. I'm on Mac OS X Yosemite. Thanks
I had installed binutils. When I try to run it:
That target was renamed recently (about 2 weeks or so ago) to i686-unknown-linux-gnu
. Changing that in the Makefile
will fix that specific error. (You would also need to apply the changes in pull request #25.)
rustc -O --target i686-unknown-linux-gnu --crate-type lib -o main.o --emit obj main.rs
error: requires sized
lang_item
error: aborting due to previous error
make: *\ [main.o] Error 101
is coming now when I change to i686-unknown-linux-gnu.
I restarted the Terminal..then its run!!!!!!!!! Thanks Thanks Thanks
@letsch323letsch did you apply the changes in pull request #25?
PS: One liner to do that:
curl https://github.com/charliesome/rustboot/pull/25.patch | git apply
@letsch323letsch oh, nice :)
Whats this error?