[Mono-list] Binary problem

Guillermo Palli webmaster@securityroot.com
Tue, 18 Jun 2002 01:23:27 -0300


I have succesfully compiled two binary versios of the same source code with
the "Hello World" example program using CSharp as a programming language.
The fisrt version, using the csc.exe compiler provided with the Windows .NET
Framework v1.0.3705, and the second one with the mono 0.12 compiler.

The evil is in the details, when I run the first executable in the mono
enviroment (linux), the program run correctly. I try the second executable
and it works fine also.

But, when I try to run the second executable (compiled in linux with mono in
Windows), the program shows a error message like that "hello.exe is not a
valid Win32 application".

What's wrong with my second executable?, Why it can't run over windows?

Thank you very much in advance.