[Mono-bugs] [Bug 81965][Wis] New - native compiler just can't work as expected
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 28 10:55:32 EDT 2007
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 paolo_lioy at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81965
--- shadow/81965 2007-06-28 10:55:32.000000000 -0400
+++ shadow/81965.tmp.17557 2007-06-28 10:55:32.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 81965
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Other.
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: paolo_lioy at hotmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: native compiler just can't work as expected
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. just executing "mono --aot program.exe"
+2.
+3.
+
+Actual Results:
+result in the best case will be anyProgram.exe.dll compiled with ..
+gcc -shared --dll -mno-cygwin -o %s %s.o
+
+
+Expected Results:
+anyProgram.exe as native code
+
+How often does this happen?
+always because compilation parameters are hardcoded inside "mono.dll"
+
+Additional Information:
+
+the best case is if you can get the output dll because you have already
+installed all the stuff necessary to make the compilation chain to work
+so you'll get the output as dll anyway because the compilation string is
+hardcoded as "gcc -shared --dll -mno-cygwin -o %s %s.o" and the file
+extension will be always .dll because of (I guess) same style
+sobstitution method
+
+I did manipulate this string directly into mono.dll removing --dll and
+using -mwindows switch instead , so I had a compilation producing a
+desired .exe file but unfortunately won't work with just that , maybe
+only because of some other switch or combination of is needed or maybe
+because won't work at all anyway ...
+
+this feature will be very nice if finally works correctly .. hope
+somebody fix it so we can check it out
+
+Paolo
More information about the mono-bugs
mailing list