From: Thierry L. <thi...@in...> - 2010-03-22 11:05:12
|
Hi all, Here is a patch for binutils/ld which enables the possibility to specifiy the runtime version for ld (1.0 (default), 1.1 or 2.0). This is useful if you want to use eg. a trunk/head mono version (which does not contain 1.0 anymore) and still run the gcc tests (which fails when runtime warnings occur). Note that, by default, the behavior is not changed. If no one has comment on it, I should commit it soon. Regards, Thierry Lafage. Thierry Lafage a écrit : > Hi all, > > 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. > If we use the binutils with this version of Mono, then it warns that > it cannot find the correct "runtime version". > > In CFile.cs, if we replace: > Assembly = AssemblyFactory.DefineAssembly (name, name, > > *TargetRuntime.NET_1_0*, > kind); > by > Assembly = AssemblyFactory.DefineAssembly (name, name, > > *TargetRuntime.NET_2_0*, > kind); > then it works fine. > > 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. > > What do you think? > > Regards, > Thierry Lafage. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ------------------------------------------------------------------------ > > _______________________________________________ > Gcc4cli-devel mailing list > Gcc...@li... > https://lists.sourceforge.net/lists/listinfo/gcc4cli-devel > |