Page 1 of 1
can't install i586-elf
Posted: Sun Mar 03, 2013 5:32 am
by Solomon
Hello.
Please help me. I need i586-elf but I can't understand how to install it. I use
http://wiki.osdev.org/GCC_Cross-Compile ... bian_Linux but it says
http://www.tucs.org.au/~jscott4/debian/ ... 6/Packages 404 Not Found when I try sudo apt-get update.
Thaks.
Re: can't install i586-elf
Posted: Sun Mar 03, 2013 5:55 am
by iansjack
Well, it does say the packages are broken....
Why not just download the source and compile it for yourself? It's a useful excercise in any case.
Re: can't install i586-elf
Posted: Sun Mar 03, 2013 6:09 am
by Solomon
Please tell me were can I get manual for that. I try
http://wiki.osdev.org/GCC_Cross-Compiler and chapter - Step 1 - Bootstrap . But I don't fully understand what to download.. I download this gcc-core-4.6.3.tar.bz2 from
http://ftp.gnu.org/gnu/gcc - /gcc-4.6.3/ and unpack to usr/src.. and I get empty folders after mkdir build-binutils build-gcc.. I'm new. Sorry for stupid questions. Thanks!
Re: can't install i586-elf
Posted: Sun Mar 03, 2013 6:14 am
by iansjack
I'm not sure that I can improve on those Wiki instructions. If you follow them they should just work. Don't worry about the empty folders; they are meant to be empty at that stage.
Re: can't install i586-elf
Posted: Sun Mar 03, 2013 6:18 am
by Solomon
But it's looks like end of instruction for linux.
/usr/local/cross/bin/i586-elf-as: No such file or directory
/usr/local/cross/bin/i586-elf-as: No such file or directory
/usr/local/cross/bin/i586-elf-gcc: No such file or directory
/usr/local/cross/bin/i586-elf-gcc: No such file or directory
/usr/local/cross/bin/i586-elf-gcc: No such file or directory
/usr/local/cross/bin/i586-elf-gcc: No such file or directory
/usr/local/cross/bin/i586-elf-gcc: No such file or directory
/usr/local/cross/bin/i586-elf-ld: No such file or directory
Few hours spend, search and nothing( I need them for make kernel.. Must be solution..
Re: can't install i586-elf
Posted: Sun Mar 03, 2013 6:23 am
by iansjack
Have you followed all of the instructions, including the "make" and "make install" parts? Obviously those files won't exist until you have made the programs and installed them in /usr/local/cross. At what point do you get those messages?