yann@402: This fixes the error yann@402: yann@402: In file included from gthr-default.h:1, yann@402: from /build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/gthr.h:98, yann@402: from /build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/libgcc2.c:3034: yann@402: /build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/gcc-2.95.3/gcc/gthr-posix.h:37: pthread.h: No such file or directory yann@402: make[3]: *** [libgcc2.a] Error 1 yann@402: make[3]: Leaving directory `/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.2/build-gcc-core/gcc' yann@402: yann@402: in what I think is a nicer way than the patch used by the arm team, yann@402: i.e. "perl -pi -e 's/^(TARGET_LIBGCC2_CFLAGS.*)/$1 -Dinhibit_libc -D__gthr_posix_h/' gcc/config/arm/t-linux" yann@402: which seems a bit of a kludge. yann@402: yann@402: --- gcc-2.95.3/gcc/configure.old Fri Mar 16 06:13:48 2001 yann@402: +++ gcc-2.95.3/gcc/configure Sun Jun 8 13:02:20 2003 yann@402: @@ -853,9 +853,9 @@ yann@402: # Check whether --enable-threads or --disable-threads was given. yann@402: if test "${enable_threads+set}" = set; then yann@402: enableval="$enable_threads" yann@402: - if test x$enable_threads = xno; then yann@402: - enable_threads='' yann@402: -fi yann@402: + #if test x$enable_threads = xno; then yann@402: + #enable_threads='' yann@402: + #fi yann@402: else yann@402: enable_threads='' yann@402: fi