[Mono-list] EntryPointNotFoundException: map_Mono_Posix_PollEvents

Jonathan Pryor jonpryor@vt.edu
Sat, 09 Oct 2004 14:03:57 -0400


On Fri, 2004-10-08 at 11:21, Shaun Jackman wrote:
> I am not completely familiar with the C# platform. Are the .exe files
> that mono generates cross-platform? For example, can I expect the same
> exe to run on Linux, Win32 and Pocket PC platforms?

You can, with some limitations.  Basically, the code the .exe
contains/uses must be present on all platforms you try to run it on. :-)

So if you use (e.g.) System.EnterpriseServices, it'll likely only run on
.NET, and not Rotor, PNet, Mono, or Pocket PC.

While System.Collections should exist on all those platforms.

Another exception is "mixed-code" assemblies -- assemblies that contain
both native and managed code.  Currently, only Managed Extensions to C++
can generate such assemblies, and such assemblies CANNOT be run on
multiple platforms (nor should you expect them to, as a PowerPC can't
run x86 code without introducing an emulator...).

 - Jon