[Mono-bugs] [Bug 29749][Wis] New - mcs /nostdlib is broken

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
1 Sep 2002 04:26:24 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by piersh@friskit.com.

http://bugzilla.ximian.com/show_bug.cgi?id=29749

--- shadow/29749	Sun Sep  1 00:26:24 2002
+++ shadow/29749.tmp.11138	Sun Sep  1 00:26:24 2002
@@ -0,0 +1,28 @@
+Bug#: 29749
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: piersh@friskit.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs /nostdlib is broken
+
+the following command line gives a whole bunch of 'CS0518 predefined type 
+undefined' errors (on linux).
+
+  mcs -nostdlib -r corlib HelloWorld.cs
+
+the equivalent csc.exe command line works fine.
+
+I believe this is due to a more fundamental problem in mcs: you can't 
+reference a corlib.dll that's different from the one used to run mcs.exe. 
+this in turn breaks self-hosting on linux.