[Mono-list] Odd error on mkbundle in cygwin

mobin.seven mobin.seven at live.com
Sun Dec 1 09:24:51 UTC 2013


Hi
I've recently installed Cygwin and mono on windows. I've used mkbundle
easily on Ubuntu without any problem but in windows I've problems.
This is what I tried and what I got:
""
$ mkbundle ComputePi.exe -c -o host.c -oo bundle.o --deps --style linux
OS is: Windows
Sources: 1 Auto-dependencies: True
   embedding: C:\ub\computePi\ComputePi.exe
 config from: C:\ub\computePi\ComputePi.exe.config
   embedding: C:\cygwin\usr\local\lib\mono\4.5\mscorlib.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\System.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\Mono.Security.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\System.Configuration.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\System.Xml.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\System.Security.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\System.Core.dll
   embedding: C:\cygwin\usr\local\lib\mono\4.5\Mono.Posix.dll
Compiling:
as -o bundle.o temp.s

Unhandled Exception:
System.ComponentModel.Win32Exception: ApplicationName='cmd', CommandLine='/c
"as
 -o bundle.o temp.s "', CurrentDirectory='', Native error= The system cannot
fin
d the file specified.

  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename
unknown
>:0
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename
unknown>
:0
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
start
Info) [0x00000] in <filename unknown>:0
  at MakeBundle.Execute (System.String cmdLine) [0x00000] in <filename
unknown>:
0
  at MakeBundle.GenerateBundles (System.Collections.Generic.List`1 files)
[0x000
00] in <filename unknown>:0
  at MakeBundle.Main (System.String[] args) [0x00000] in <filename
unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception:
Applica
tionName='cmd', CommandLine='/c "as -o bundle.o temp.s "',
CurrentDirectory='',
Native error= The system cannot find the file specified.

  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename
unknown
>:0
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename
unknown>
:0
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
start
Info) [0x00000] in <filename unknown>:0
  at MakeBundle.Execute (System.String cmdLine) [0x00000] in <filename
unknown>:
0
  at MakeBundle.GenerateBundles (System.Collections.Generic.List`1 files)
[0x000
00] in <filename unknown>:0
  at MakeBundle.Main (System.String[] args) [0x00000] in <filename
unknown>:0

""

I don't understand what is the problem! 'as' or gnu assembler is already
installed and I can use it separately on Cygwin.
Thanks



--
View this message in context: http://mono.1490590.n4.nabble.com/Odd-error-on-mkbundle-in-cygwin-tp4661406.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list