CC=${HTC_GCC} \
../${EXTPATH}/configure -v \
--prefix=${XTC_ROOT}/usr \
--target=${TARGET_SPEC} \
--enable-languages=c \
--disable-nls \
--enable-shared \
--with-headers=${XTC_ROOT}'/usr/'${TARGET_SPEC}'/include' \
--with-libs=${XTC_ROOT}'/usr/'${TARGET_SPEC}'/lib' \
|| exit 1 ;\
touch ${EXTTEMP}/gcc-${VERSION}-xtc/.configured \
make install || exit 1 ;\
if [ -r ${HTC_ROOT}/usr/${TARGET_SPEC}/lib/crt1.o ] ; then \
cat gcc/specs \
| sed 's/ld-linux.so.2/ld-uClibc.so.0/' > `${XTC_ROOT}/usr/bin/${TARGET_SPEC}-gcc -v 2>&1 | grep specs | sed 's/.* //'` || exit 1 ;\
else \
cat gcc/specs \
| sed 's/ld-linux.so.2/ld-uClibc.so.0/ ; s/:g*crt1.o/:crt0.o/g' \
> `${XTC_ROOT}/usr/bin/${TARGET_SPEC}-gcc -v 2>&1 | grep specs | sed 's/.* //'` || exit 1 ;\
fi || exit 1 \
|