Cross Compiling SH4 hello world and installing STLinux 2.4 compilers

As traditional method of install STLinux cross compiler is installing debian/ubuntu/redhat and install the RPMs.  Here we just extract RPMs.
  1. Download from source site sh4twbox-hello:
    1. For example, click the [95f0b35c13]
    2. click the Downloads:Tarball
    3. Extract it on your linux, for example:
      • tar xf ~/Downloads/sh4twbox-hello-b393ebf8ae43608e.tar.gz
  2. Install cross compilers, for example:
    • cd sh4twbox-hello*
    • ./inst_st24_dev.sh i
  3. Try make the hello world
    • source ./env.sh
    • make
  4. Check the output log, for example, here is a successful output:
    • hello:  ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped