I'm fairly new to the os developing and I'm trying to build a cross compiler on Linux (debian) following this tutorial: http://wiki.osdev.org/GCC_Cross-Compiler
when I execute the command:
Code: Select all
make all-target-libgcc
Code: Select all
/home/djedefre/opt/cross/i686-elf/bin/ar rc libgcc.a $objects
/home/djedefre/opt/cross/i686-elf/bin/ar: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory
Makefile:895: the rule „libgcc.a“ fails
make[1]: *** [libgcc.a] Error 127
make[1]: Leaving Directory „/home/djedefre/src/build-gcc/i686-elf/libgcc“
Makefile:12915:the rule for target „all-target-libgcc“ fails
make: *** [all-target-libgcc] Error 2
Can anyone help me with this?