Need help compiling C++ on Netduino
#1
Posted 16 August 2011 - 11:30 PM
#2
Posted 17 August 2011 - 06:47 AM
Have you seen the Wiki Page? I'd be interested in what you find as I was thinking about this as a project for the Autumn.Let's say I want to temporarily remove the .Net MF firmware from my Netduino and play around with a purely C++ project. Can someone please let me know where I can get good information related to setting this up? I know that other people have done this but I have not seen good resources with clear steps on how to accomplish this..
I've also been watching SimpleNGen. Not sure which way to go yet but I have a few weeks before I think about starting and tooling up.
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 17 August 2011 - 03:28 PM
#4
Posted 17 August 2011 - 04:51 PM
#5
Posted 17 August 2011 - 06:26 PM
My understanding is you need a development board for this although I must admit I'm only just getting to grips with what is needed.I assume that we don't have any JTAG or similar debugging interface for direct C coding?
Regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#6
Posted 19 August 2011 - 06:53 PM
Excellent, thanks for the link. I should find what I need there.
BTW the reason I need this is because I'm working on a project that will allow you to take a full .Net exe (not .Net MF) and recompile it to C++. Then you can use a C++ compiler as a post-build step to convert it to a native executable. This project is moving along very well and I'm getting close to the point where I need to start testing this on a microcontroller.
This project will allow you to create C++ code from your .Net app that is very compact since it doesn't need the .Net runtime at all as it has its own CLR-like kernel. It does a static code analysis pass in order to only include the code that actually gets executed. It is fast since it is not interpreted but C++ (with added support for GC, full type checking, exception handling, delegates, threading etc). It will also allow P/Invoke just like you can right now with the full .Net, using the exact same P/Invoke syntax.
Once this project is at a good point, I will make it available on CodePlex. I will also post a thread here to describe the project in detail. It is a big project but as I said I have made very good progress.
I would be interested in contributing to this project... please contact me at james@loveelectronics.co.uk
#7
Posted 20 August 2011 - 10:19 PM
I would be interested in contributing to this project... please contact me at james@loveelectronics.co.uk
I sent you an email.
#8
Posted 10 April 2013 - 07:35 PM
Sorry for reopening a old thread, but has any further progress been made on this project?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users