CC=${HTC_GCC} \
CFLAGS=-O2 \
../${EXTPATH}/configure -v \
--prefix=${XTC_ROOT}/usr \
--target=${TARGET_SPEC} \
--enable-shared \
--disable-largefile --disable-nls \
|| exit 1 ;\
make install || exit 1 ;\
mkdir -p ${XTC_ROOT}/usr/`echo ${TARGET_SPEC} | sed 's/-[^-]*-/-xnc_k-/'`/bin || exit 1 ;\
for EXE in addr2line ar as c++filt ld nm \
objcopy objdump ranlib readelf size \
strings strip ; do \
( cd ${XTC_ROOT}/usr/bin && ln -sf ${TARGET_SPEC}-$${EXE} `echo ${TARGET_SPEC} | sed 's/-[^-]*-/-xnc_k-/'`-$${EXE} ) || exit 1 ;\
( cd ${XTC_ROOT}/usr/`echo ${TARGET_SPEC} | sed 's/-[^-]*-/-xnc_k-/'`/bin && ln -sf ../../${TARGET_SPEC}/bin/$${EXE} ./ ) || exit 1 ;\
done \
|