Start
[mono.git] / mcs / mbas / driver.cs
index 3ad0e7bd27910322cf71555ab66260f3da1e3be4..dd4c27c76ff859421ebed9296a166406d1635b4b 100644 (file)
@@ -145,6 +145,14 @@ namespace Mono.Languages
 
                [Option(-1, "References metadata from the specified {assembly}", 'r', "reference")]
                public string AddedReference { set { references.Add(value); } }
+               
+               // support for the Compact Framework
+               //------------------------------------------------------------------
+               [Option("[NOT IMPLEMENTED YET]Sets the compiler to target the Compact Framework","netcf")]
+               public bool CompileForCompactFramework = false;
+               
+               [Option("[NOT IMPLEMENTED YET]Specifies the {path} to the location of mscorlib.dll and microsoft.visualbasic.dll", "sdkpath")]
+               public string SDKPath = null;
 
                // resource options
                //------------------------------------------------------------------
@@ -806,7 +814,7 @@ namespace Mono.Languages
                        
                                if (ep == null)
                                {
-                                       Report.Error (5001, "Program " + outputFileName +
+                                       Report.Error (30737, "Program " + outputFileName +
                                                " does not have an entry point defined");
                                        return false;
                                }
@@ -859,6 +867,7 @@ namespace Mono.Languages
                /// </summary>
                int MainDriver(string [] args)
                {
+                       Console.WriteLine ("THIS IS ALPHA AND UNSUPPORTED SOFTWARE, USE AT YOUR OWN RISK.");
                        SetupDefaultDefines();  
                        
                        SetupDefaultImports();