#!/bin/bash

PATH="/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin:/usr/bin:/bin"

export PATH

echo $PATH

export bash_cv_have_mbstate_t=yes

# ../gdb-6.0/configure \
# --verbose \
# --host=arm-arm9-linux-gnu \
# --build=i686-pc-linux-gnu \
# --target=arm-arm9-linux-gnu \
# --with-gcc=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-gcc \
# --with-ar=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-ar \
# --with-as=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-as \
# --with-ld=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-ld \
# --with-nm=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-nm \
# --with-ranlib=/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin/arm-arm9-linux-gnu-ranlib

../gdb-6.0/configure --host=arm-arm9-linux-gnu --build=i686-pc-linux-gnu --target=arm-arm9-linux-gnu

make
