mail-archives/mono-list/2003-October/016670.html

81 строка
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] Compiling PocketPC .NET binaries with Mono
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:swbrown%40ucsd.edu">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="016669.html">
<LINK REL="Next" HREF="016671.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] Compiling PocketPC .NET binaries with Mono
</H1>
<B>Steven Brown
</B>
<A HREF="mailto:swbrown%40ucsd.edu"
TITLE="[Mono-list] Compiling PocketPC .NET binaries with Mono">swbrown@ucsd.edu
</A><BR>
<I>Thu, 30 Oct 2003 22:44:38 -0800</I>
<P><UL>
<LI> Previous message: <A HREF="016669.html">[Mono-list] mod_mono installation error
</A></li>
<LI> Next message: <A HREF="016671.html">[Mono-list] Determining the platform at compile and run time
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16670">[ date ]</a>
<a href="thread.html#16670">[ thread ]</a>
<a href="subject.html#16670">[ subject ]</a>
<a href="author.html#16670">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>In order to compile PocketPC .NET binaries using MS .NET but without
Visual Studio, I can extract and rename the .NET dlls from the Compact
Framework's .cab for ARM and compile with /nostdlib using the procedure
documented at <A HREF="http://dotnetdn.com/without-visual-studio/">http://dotnetdn.com/without-visual-studio/</A> :
csc /t:winexe CFHelloWorld.cs /r:system.dll /r:mscorlib.dll
/r:system.windows.forms.dll /nostdlib
However, trying this with Mono (0.26) on Linux with a command like:
mcs /t:winexe test.cs /r:System.dll /r:mscorlib.dll
/r:System.Windows.Forms.dll /nostdlib
fails with tons of 'not defined' errors for core elements like &quot;error
CS0518: The predefined type `System.Void' is not defined&quot;. Is there a
way to do this with Mono currently, or anyone have an idea as to what
code changes would be required?
Here are the dlls in question from the Compact Framework if you want to
try it yourselves (subject to MS's EULA in there too):
<A HREF="https://activecampus2.ucsd.edu:8081/svn/native/trunk/PocketPC%20DLLs/">https://activecampus2.ucsd.edu:8081/svn/native/trunk/PocketPC%20DLLs/</A>
Regarding related discussions, I found this thread last month that seems
to have died right as it reached this point:
<A HREF="http://lists.ximian.com/archives/public/mono-list/2003-September/015747.">http://lists.ximian.com/archives/public/mono-list/2003-September/015747.</A>
html
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="016669.html">[Mono-list] mod_mono installation error
</A></li>
<LI> Next message: <A HREF="016671.html">[Mono-list] Determining the platform at compile and run time
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16670">[ date ]</a>
<a href="thread.html#16670">[ thread ]</a>
<a href="subject.html#16670">[ subject ]</a>
<a href="author.html#16670">[ author ]</a>
</LI>
</UL>
</body></html>