title: How to build android standalone toolchain in windows 7
body: <p>I am trying to build standalone toolchain using ndk 8 for mips by following "docs\STANDALONE-TOOLCHAIN.html" but when I run following command "make-standalone-toolchain.sh --platform=android-14 --install-dir=/tmp/my-android-toolchain" in command prompt I got following errors</p>
  
  <pre><code>E:\Installed_SDKs\android-ndk-r8\build\tools&gt;make-standalone-toolchain.sh --plat
  form=android-14 --arch=mips --install-dir=./mytool
  Welcome to Git (version 1.7.9-preview20120201)
  
  
  Run 'git help git' to display the help index.
  Run 'git help &lt;command&gt;' to display help for specific commands.
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: name: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_abstract_Specify: command not found
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: name: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_abstract_Specify: command not found
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: path: No such file or directory
  ./prebuilt-common.sh: line 159: path: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_default_.=: command not found
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: name: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_abstract_Specify: command not found
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: path: No such file or directory
  ./prebuilt-common.sh: line 159: path: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_default_/tmp/ndk-=: No such file or directory
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: path: No such file or directory
  ./prebuilt-common.sh: eval: line 159: unexpected EOF while looking for matching
  `''
  ./prebuilt-common.sh: eval: line 160: syntax error: unexpected end of file
  expr: syntax error
  expr: syntax error
  ./prebuilt-common.sh: line 159: name: No such file or directory
  ./prebuilt-common.sh: line 159: OPTIONS_abstract_Specify: command not found
  ./prebuilt-common.sh: line 159: OPTIONS_default_android-3=: command not found
  expr: syntax error
  expr: syntax error
  expr: syntax error
  expr: syntax error
  expr: syntax error
  ERROR: Unknown option '--platform=android-14'. Use --help for list of valid values.
  </code></pre>
  
  <p>Can any body guide what I am doing wrong! or how could I build standalone toolchain in windows 7</p>
  
  <p>Regards
  Ahsan</p>