Beginner question - I586-ELF-GCC?

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
MightyNerd
Posts: 3
Joined: Wed Feb 29, 2012 4:52 pm

Beginner question - I586-ELF-GCC?

Post 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!
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Beginner question - I586-ELF-GCC?

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
MightyNerd
Posts: 3
Joined: Wed Feb 29, 2012 4:52 pm

Re: Beginner question - I586-ELF-GCC?

Post by MightyNerd »

I copied everything from the terminal:
http://pastebin.com/k4KT2BDj
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Beginner question - I586-ELF-GCC?

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
MightyNerd
Posts: 3
Joined: Wed Feb 29, 2012 4:52 pm

Re: Beginner question - I586-ELF-GCC?

Post by MightyNerd »

Ok, thank you for the answer!
Post Reply