>_muldi3
>./libgcc2.c:41: stdlib.h: No such file or directory
>./libgcc2.c:42: unistd.h: No such file or directory
>gmake[3]: *** [libgcc2.a] Error 1

Yeah, this is a common problem when building cross-compilers for the first 
time.  The workaround is to edit gcc/config/arm/t-linux and add 
"-Dinhibit_libc" to TARGET_LIBGCC2_CFLAGS.  You will also probably get errors 
building frame.c - to avoid those, add the "--disable-threads" option to 
configure, and then manually delete the offending #include <pthread.h>.  (This 
last bit was suggested by Werner Almesberger; I haven't actually tried it 
myself.)

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to