Thanks for the information.
I just cleaned everything up and am starting from scratch from the original
tarfiles that I downloaded.
I just rebuilt the binutils tools without the patch (no need to take any chances
if you think it might hurt things).
Then I reinstalled the linux-2.2.2 source, and then the egcs source, installed
the patch that philb pointed me to,
and *didn't* cd into the gcc subdirectory and did:
make LANGUAGES=c
This eventually fails with:
/home/hughm/arm-cross-compiler/egcs-19990623/gcc/xgcc
-B/home/hughm/arm-cross-compiler/egcs-19990623/gcc/
-B/usr/local/arm112/arm-linux/bin/ -I/usr/local/arm112/arm-linux/include -O2
-DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -f\
omit-frame-pointer -fPIC -g0 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c -DL${name}
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
arm-linux-ar rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_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
gmake[3]: Leaving directory `/home/hughm/arm-cross-compiler/egcs-19990623/gcc'
gmake[2]: *** [stmp-multilib-sub] Error 2
gmake[2]: Leaving directory `/home/hughm/arm-cross-compiler/egcs-19990623/gcc'
gmake[1]: *** [stmp-multilib] Error 1
gmake[1]: Leaving directory `/home/hughm/arm-cross-compiler/egcs-19990623/gcc'
gmake: *** [all-gcc] Error 2
I guess it can't find the stdlib.h or unistd.h files.
I think the compiler command should specify to look into the asm subdirectory of
the directory specified in the
-I/usr/local/arm112/arm-linux/include, for the unistd.h file anyway. As for the
stdlib.h file, where should
it find this from?
Thanks again for any help.
-Hugh
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]