title: Exception when using mkbundle(mono) to compile Simple Winforms Application
body: <p>I have tried using <code>mkbundle --deps f.exe -o d.exe</code> 
  But exceptions are thrown</p>
  
  <p>I get the following errors </p>
  
  <pre><code>embedding: I:\f.exe
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\mscorlib.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\Mono.Security.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Configuration.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Xml.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Security.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Windows.Forms.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Drawing.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\Accessibility.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\Mono.WebBrowser.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\Mono.Posix.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Data.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\Mono.Data.Tds.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.Transactions.dll
     embedding: C:\PROGRA~2\MONO-2~1.8\lib\mono\4.0\System.EnterpriseServices.dll
  Compiling:
  as -o temp.o temp.s
  
  Unhandled Exception: System.ComponentModel.Win32Exception: ApplicationName='sh',
   CommandLine='-c "as -o temp.o temp.s "', CurrentDirectory=''
    at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
  fo startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown
  &gt;:0
    at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
  o startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown&gt;
  :0
    at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo start
  Info) [0x00000] in &lt;filename unknown&gt;:0
    at MakeBundle.Execute (System.String cmdLine) [0x00000] in &lt;filename unknown&gt;:
  0
    at MakeBundle.GenerateBundles (System.Collections.ArrayList files) [0x00000] i
  n &lt;filename unknown&gt;:0
    at MakeBundle.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
  [ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: Applica
  tionName='sh', CommandLine='-c "as -o temp.o temp.s "', CurrentDirectory=''
    at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
  fo startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown
  &gt;:0
    at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
  o startInfo, System.Diagnostics.Process process) [0x00000] in &lt;filename unknown&gt;
  :0
    at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo start
  Info) [0x00000] in &lt;filename unknown&gt;:0
    at MakeBundle.Execute (System.String cmdLine) [0x00000] in &lt;filename unknown&gt;:
  0
    at MakeBundle.GenerateBundles (System.Collections.ArrayList files) [0x00000] i
  n &lt;filename unknown&gt;:0
    at MakeBundle.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
  </code></pre>
  
  <p>Can someone help me.</p>
  
  <pre><code>EDIT:
  </code></pre>
  
  <p>The errors above occurred when i used mkbundle directly from Windows from Cygwin i get the following error</p>
  
  <pre><code>'as' command not found
  </code></pre>
  
  <p>From the Net i learned 'as' is a Compiler where can i get it,Please help me i'm not a Linux enthusiast </p>