GCC Cross-Compiler issue
Posted: Fri Feb 19, 2010 2:08 pm
Hi!
I am very new to using GNU tools and doing os deving, so i apologize if the answer to this question is obvious! I have been following some simple os dev tutorials using DJGPP on Windows Vista, but earlier today i decided to install Ubuntu 9.10 (dual boot), and i wanted to make a working GCC Cross-Compiler for i386 target that i can use for os deving.
I followed the tutorial at this link to compile a GCC Cross-compiler:
http://wiki.osdev.org/GCC_Cross-Compiler
... and the AS asm from binutils seems to work, but GCC doesnt.
When i try to compile anything with the gcc cross-compiler i get this error message:
Btw I did not forget this before compiling gcc:
(if it even has to do with this)
So if anyone knows how to fix this it would be very nice!
tobbebia
I am very new to using GNU tools and doing os deving, so i apologize if the answer to this question is obvious! I have been following some simple os dev tutorials using DJGPP on Windows Vista, but earlier today i decided to install Ubuntu 9.10 (dual boot), and i wanted to make a working GCC Cross-Compiler for i386 target that i can use for os deving.
I followed the tutorial at this link to compile a GCC Cross-compiler:
http://wiki.osdev.org/GCC_Cross-Compiler
... and the AS asm from binutils seems to work, but GCC doesnt.
When i try to compile anything with the gcc cross-compiler i get this error message:
Code: Select all
/usr/cross/libexec/gcc/i386-elf/4.4.3/cc1: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory
(if it even has to do with this)
If I can't get this to work i will have to go back and do os dev on Windows. But linux seems much more intresting to me!If you plan to use GCC 4.3.0 or a later version, you will also have to install the following:
GMP (this package is also readily available for MSYS)
MPFR
So if anyone knows how to fix this it would be very nice!
tobbebia