Re: [Mono-dev] Diagnosing "Invalid IL code"
As far as I know there isn't a fully integrated way to use this from monodevelop yet even though the upcoming 6.0 release uses roslyn internally for intellisense etc though, but at build time it just calls xbuild which uses the Mono compilers. We do have a preview release on OSX that includes the open sourced msbuild with roslyn included, I'm not sure what the Linux plans for that are right now ( https://github.com/Microsoft/msbuild/releases/tag/mono-hosted-msbuild-v0.2 should work with current Mono but I know it breaks with the upcoming release). So lots of stuff in the making, but not an easy to use solution right now :) - Alex 2016-05-12 17:14 GMT+02:00 Gary Briggs: > On Thu, May 12, 2016 at 02:44:51PM +0200, Alexander Köplinger wrote: > > And if that doesn't help, you might want to take a look at Roslyn as > there > > likely won't be any work on Mono's VB compiler going forward: > > > > $ nuget install Microsoft.Net.Compilers -Version 1.2.1 > > > > $ mono ./Microsoft.Net.Compilers.1.2.1/tools/vbc.exe hello.vb /noconfig > > Huh, cool. I'm not wedded to mono compilers at all, really I just want > to be able to build on Linux. > > Is there an easy way to use that compiler with an existing .sln/.vbproj? I > can't find any settings in monodevelop that would point me to a different > compiler. > > Cheers, > Gary > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Diagnosing "Invalid IL code"
On Thu, May 12, 2016 at 02:44:51PM +0200, Alexander Köplinger wrote: > And if that doesn't help, you might want to take a look at Roslyn as there > likely won't be any work on Mono's VB compiler going forward: > > $ nuget install Microsoft.Net.Compilers -Version 1.2.1 > > $ mono ./Microsoft.Net.Compilers.1.2.1/tools/vbc.exe hello.vb /noconfig Huh, cool. I'm not wedded to mono compilers at all, really I just want to be able to build on Linux. Is there an easy way to use that compiler with an existing .sln/.vbproj? I can't find any settings in monodevelop that would point me to a different compiler. Cheers, Gary ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Diagnosing "Invalid IL code"
On Thu, May 12, 2016 at 08:05:07AM +0200, Timotheus Pokorra wrote: > Hello Gary, > > On 12 May 2016 at 06:52, Gary Briggswrote: > > I have some code that, when compiled with monodevelop [latest in Ubuntu > > 15.10], throws an invalid IL code exception when run with mono. This same > > code, when compiled with VS2015, does not throw said exception when run > > with mono. > > I just checked, Ubuntu 15.10 still had Mono 3.2.8. > You might want to try Ubuntu 16.04, which comes with Mono 4.2.1 > Alternatively, install the latest Mono packages from Xamarin on Ubuntu > 15.10: > http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives Sorry, I should have been clear; I'm using the packages from mono-project, installed as per the description at that link. Unfortunately, my issues persist Gary > I hope this might solve your issues already, > > Timothues > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list -- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Diagnosing "Invalid IL code"
And if that doesn't help, you might want to take a look at Roslyn as there likely won't be any work on Mono's VB compiler going forward: $ nuget install Microsoft.Net.Compilers -Version 1.2.1 $ mono ./Microsoft.Net.Compilers.1.2.1/tools/vbc.exe hello.vb /noconfig - Alex 2016-05-12 8:05 GMT+02:00 Timotheus Pokorra < timotheus.poko...@solidcharity.com>: > Hello Gary, > > On 12 May 2016 at 06:52, Gary Briggswrote: > > I have some code that, when compiled with monodevelop [latest in Ubuntu > > 15.10], throws an invalid IL code exception when run with mono. This same > > code, when compiled with VS2015, does not throw said exception when run > > with mono. > > I just checked, Ubuntu 15.10 still had Mono 3.2.8. > You might want to try Ubuntu 16.04, which comes with Mono 4.2.1 > Alternatively, install the latest Mono packages from Xamarin on Ubuntu > 15.10: > http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives > > I hope this might solve your issues already, > > Timothues > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Parameter on the stack overlap
Hi all, Now I am porting mono to aix, I met a problem that is, When convert from decimal to flaot, I found the parameter d of the mono_decimal_to_float (d=...) function overlapped, so I can't get the correct content of the parameter. Prologue of the function: mono_decimal_to_float (d=...) at decimal-ms.c:2369(which is an Internal Call) 2369{ => 0x1021925c:7c 08 02 a6 mflrr0 0x10219260 :90 01 00 08 stw r0,8(r1) 0x10219264 :93 e1 ff fc stw r31,-4(r1) 0x10219268 : 94 21 ff a0 stwu r1,-96(r1) 0x1021926c : 7c 3f 0b 78 mr r31,r1 0x10219270 : 90 7f 00 78 stw r3,120(r31) 0x10219274 : 90 9f 00 7c stw r4,124(r31) 0x10219278 : 90 bf 00 80 stw r5,128(r31) 0x1021927c : 90 df 00 84 stw r6,132(r31) Parameter d is the MonoDecimal structure, The address is 0x2ff22700, but when run the instruction stw r3,120(r31), one filed of 0x2ff22700 populated with The value 0x2ff22700. (gdb) info reg r31 r310x2ff22690 804398736 Anyone know why this happened? Why it save the parameter where will overlap the value? Thank you in advance! Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? +1 877.328.2932 ? +1 781.577.4321 Unsubscribe From Commercial Email - unsubscr...@rocketsoftware.com Manage Your Subscription Preferences - http://info.rocketsoftware.com/GlobalSubscriptionManagementEmailFooter_SubscriptionCenter.html Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Diagnosing "Invalid IL code"
Hello Gary, On 12 May 2016 at 06:52, Gary Briggswrote: > I have some code that, when compiled with monodevelop [latest in Ubuntu > 15.10], throws an invalid IL code exception when run with mono. This same > code, when compiled with VS2015, does not throw said exception when run > with mono. I just checked, Ubuntu 15.10 still had Mono 3.2.8. You might want to try Ubuntu 16.04, which comes with Mono 4.2.1 Alternatively, install the latest Mono packages from Xamarin on Ubuntu 15.10: http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives I hope this might solve your issues already, Timothues ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list