can't install i586-elf

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Solomon
Posts: 3
Joined: Sun Mar 03, 2013 5:27 am

can't install i586-elf

Post 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.
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: can't install i586-elf

Post 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.
Solomon
Posts: 3
Joined: Sun Mar 03, 2013 5:27 am

Re: can't install i586-elf

Post 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!
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: can't install i586-elf

Post 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.
Solomon
Posts: 3
Joined: Sun Mar 03, 2013 5:27 am

Re: can't install i586-elf

Post 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..
User avatar
iansjack
Member
Member
Posts: 4711
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: can't install i586-elf

Post 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?
Post Reply