Building a cross compiler
Posted: Sun Apr 13, 2008 9:49 am
Hello,
I'm trying to build a cross compiler with gcc and binutils.
I do what the http://www.osdev.org/wiki/GCC_Cross-Compiler explains.
Binutils (2.15) compiles right but the directory /usr/cross is not created even if I setted up environment variables as explained ($PREFIX and $PATH).
When I compile gcc (3.3.6) I get an error because i586-elf-ar is not found.
As I guess i586-elf-ar would be in /usr/cross but even the directory is not created.
find /usr -name "i586-elf-ar" says that there is nothing like i586-elf-ar on the system.
My question is: What I missed?
I'm trying to build a cross compiler with gcc and binutils.
I do what the http://www.osdev.org/wiki/GCC_Cross-Compiler explains.
Binutils (2.15) compiles right but the directory /usr/cross is not created even if I setted up environment variables as explained ($PREFIX and $PATH).
When I compile gcc (3.3.6) I get an error because i586-elf-ar is not found.
As I guess i586-elf-ar would be in /usr/cross but even the directory is not created.
find /usr -name "i586-elf-ar" says that there is nothing like i586-elf-ar on the system.
My question is: What I missed?