Easy install guide for SH GNU tools in Cygwin (1) Download binary package (e.g. sh-elf-4.1.cygwin.tar.gz) and setup script ( named "tkbuildsetupSH.sh" ) to the C:\tmp directory. (2) Invoke Cygwin. (3) Extract binary package at the "/usr/local" directory in the Cygwin.   $ cd /usr/local   $ tar zxvf /cygdrive/c/tmp/sh-elf-4.1.cygwin.tar.gz (4) Setup environment variables. We introduced two methods, select the (4-1) or (4-2). (4-1) Execute GNU tool setup script ( named "tkbuildsetupSH.sh" )   $ cd   $ mv /cygdrive/c/tmp/tkbuildsetupSH.sh .   $ . tkbuildsetupSH.sh (4-2) Append the following environment variables to the ".bashrc"  export BD=/home/tkernel/tkv10202/tkernel_source  export GNUs=/usr  export GNU_BD=/usr/local/sh-elf  export GNUsh=$GNU_BD  export GCC_EXEC_PREFIX=$GNU_BD/lib/gcc/  export COMPILER_PATH=$GNU_BD/libexec/gcc/  PATH=$PATH:$HOME/bin:$GNUsh/bin:$GNU_BD/bin After appending, update ".bashrc" file.   $ source .bashrc (Note) The value of showing "BD" is an example directory for T-Kernel base directory. Please change it according to your T-Kernel environment. (5) Verify the installation of GNU tool.   $ sh-elf-gcc --version  sh-elf-gcc (GCC) 4.1  Copyright (C) 2006 Free Software Foundation, Inc.  This is free software; see the source for copying conditions. There is NO  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.