Thank you tnt.
After cloning the sources from github, I am building the tool chain. The build is not successful
It shows an error as below:
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations. Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
http://gcc.gnu.org/install/prerequisites.html for additional info. If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files. They may be located in separate packages.
I have downloaded and installed GMP from the ftp and also given the configure option
in build-toolchain.sh at the line
mkdir -p "${build_dir}" && cd "${build_dir}" \
&& "${unified_src}/configure" --target=epiphany-elf \
--with-pkgversion="Epiphany toolchain 20120120 (built `date +%Y%m%d`)" \
--with-bugurl=support-sdk@adapteva.com \
--enable-fast-install=N/A \
--enable-languages=c,c++ --prefix="${install_dir}" \
--with-headers="$(absolutedir ../src/newlib/libc/include)" \
--disable-gdbtk --with-gmp=/home/abdul/Downloads/GMP/gmp-5.1.0/src \
$CONFIG_EXTRA_OPTS >> "${logfile}" 2>&1
The error still exits
Does any one have any work around for this.