1)Download crosstool 0.35 from http://kegel.com/crosstool/
2)copy arm-omap1510.dat and demo-arm-omap1510.sh to crosstool-0.35 directory
3) Edit the demo-arm-omap1510.sh so that your target and cache dirs are ok.

   RESULT_TOP=/opt/h6300/gcc/4.0.0
   export PREFIX=/opt/h6300/gcc/4.0.0
   TARBALLS_DIR=$HOME/downloads/gcc/crosstool/cache

(TARBALLS_DIR is defines the cache location where crosstool downloads and stores the sources requires for building crosscompiler toolchain.

For building gcc 4.0 version of compiler with the glibc 2.3.5 you can use following line in the arm-omap1510.dat file.
   eval `cat arm-omap1510.dat gcc-4.0.0-glibc-2.3.5-hdrs-2.6.11.2.dat` sh all.sh -

4) Unset LD_LIBRARY_PATH with
export LD_LIBRARY_PATH=
otherwise glibc will refuse to build
5) Start building by executing the demo-arm-omap1510.sh

Mika Laitio / 17.5.2005 / lamikr@cc.jyu.fi


