It seems that crosstool have installed succesfully but when I try to compile a simple program (p.e. main.c) an error occurs
sh3eb-unknown-<{GNULINUX}>-gnu-gcc -O9 -nostdlib -lgcc -Xlinker "-Taddin.ld" init.c init.s main.c -o myaddin /tmp/ccoptgnW.o: In function `main': main.c:(.text+0x14): undefined reference to `printf' collect2: ld returned 1 exit status
The file main.c is this
#include <stdio.h> int main(){ printf("hello"); }
When I complile without any option ( only "sh3eb-unknown-<{GNULINUX}>-gnu-gcc" ) there's no output error.
I just googled all over but I'm found nothing, if anyone can help about this error ??!!