From: Thierry L. <thi...@in...> - 2010-03-17 17:34:41
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hi all,<br> <br> Here at IRISA, we are currently using the head of the svn trunk version of Mono. In this version, .Net profile 1.0 support has been removed.<br> If we use the binutils with this version of Mono, then it warns that it cannot find the correct "runtime version".<br> <br> In CFile.cs, if we replace:<br> <font color="#660000"><tt> Assembly = AssemblyFactory.DefineAssembly (name, name,<br> <b>TargetRuntime.NET_1_0</b>,<br> kind);<br> </tt></font>by<br> <font color="#660000"><tt> Assembly = AssemblyFactory.DefineAssembly (name, name,<br> <b>TargetRuntime.NET_2_0</b>,<br> kind);<br> </tt></font>then it works fine.<br> <br> I don't know the consequences on other's code of such a change. To minimize it, I propose to add a flag to the binutils command lines like eg. -profile=2 and to let 1.0 be the default case.<br> <br> What do you think?<br> <br> Regards,<br> <pre class="moz-signature" cols="72">Thierry Lafage. </pre> </body> </html> |