Page 1 of 1

Beginner question - I586-ELF-GCC?

Posted: Wed Feb 29, 2012 4:58 pm
by MightyNerd
Hi, im pretty new to this forum and os development and i have a question.
I followed the GCC Cross Compiler tutorial and everything worked good, no errors. But i do not have any i586-elf-gcc in /usr/local/cross/bin. In the tutorial it says that i should have one. Does anyone know whats wrong?

As i said im new here so this question may sound stupid to you.
Im on the newest version of ubuntu.
Thank you for answering!

Re: Beginner question - I586-ELF-GCC?

Posted: Wed Feb 29, 2012 5:00 pm
by Combuster
no errors.
I doubt that.

Please post the output of the "make install-gcc" command. You can safely call it again if it's no longer in your terminal.

Re: Beginner question - I586-ELF-GCC?

Posted: Wed Feb 29, 2012 5:13 pm
by MightyNerd
I copied everything from the terminal:
http://pastebin.com/k4KT2BDj

Re: Beginner question - I586-ELF-GCC?

Posted: Wed Feb 29, 2012 5:18 pm
by Combuster

Code: Select all

/lib/gcc/i686-pc-linux-gnu/4.6.2
looks like you forgot to set PREFIX and TARGET during configure, and you consequently built a default linux compiler.

Remove your build directories and start over, and hope you didn't replace your host compiler with something broken.

Re: Beginner question - I586-ELF-GCC?

Posted: Wed Feb 29, 2012 5:20 pm
by MightyNerd
Ok, thank you for the answer!