Help with Cross-Compiler
Posted: Thu Dec 30, 2010 4:27 am
Hello, everyone!
I'm wondering if someone can help me with building cross-compiler.
Of course I've read http://wiki.osdev.org/GCC_Cross-Compiler and http://wiki.osdev.org/OS_Specific_Toolchain.
My problem is when I compile it, i can't complete third step because i recieve a lot of errors like : "i586-pc-myos-ld: unrecognised emulation mode..." etc. I can't also build libgcc - it can't find rules for make T_TARGET and I had trouble with newlib and i586-elf-ranlib(unknown command) at second step.
I compile & test the code on Linux Ubuntu 10.10 x32
I tried to build two cross-compilers:
- GCC 4.5.2 + Binutils 2.21.1
- GCC 4.4.3 + Binutils 2.20.0
I don't know where exactly i've made a mistake. Could you help me, please?
Michael.
I'm wondering if someone can help me with building cross-compiler.
Of course I've read http://wiki.osdev.org/GCC_Cross-Compiler and http://wiki.osdev.org/OS_Specific_Toolchain.
My problem is when I compile it, i can't complete third step because i recieve a lot of errors like : "i586-pc-myos-ld: unrecognised emulation mode..." etc. I can't also build libgcc - it can't find rules for make T_TARGET and I had trouble with newlib and i586-elf-ranlib(unknown command) at second step.
I compile & test the code on Linux Ubuntu 10.10 x32
I tried to build two cross-compilers:
- GCC 4.5.2 + Binutils 2.21.1
- GCC 4.4.3 + Binutils 2.20.0
I don't know where exactly i've made a mistake. Could you help me, please?
Michael.