www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - D on Arm?

reply Robert Atkinson <Robert_member pathlink.com> writes:
What would be required to get D working on an Arm based linux distribution?  I'm
assuming the majority of the heavy lifting would be to get GDC to target ARM
instead of x86 and then to get the GC to walk the ARM specific heap.

Has anybody started such a project?
Jul 17 2006
next sibling parent Lars Ivar Igesund <larsivar igesund.net> writes:
Robert Atkinson wrote:

 What would be required to get D working on an Arm based linux
 distribution?  I'm assuming the majority of the heavy lifting would be to
 get GDC to target ARM instead of x86 and then to get the GC to walk the
 ARM specific heap.
 
 Has anybody started such a project?

You could check Chad J's posts on the D.gnu newsgroup, he has worked on getting GDC to work on arm-wince, I suppose there might be some value in that work. -- Lars Ivar Igesund blog at http://larsivi.net DSource & #D: larsivi
Jul 17 2006
prev sibling parent Chad J <gamerChad _spamIsBad_gmail.com> writes:
Robert Atkinson wrote:
 What would be required to get D working on an Arm based linux distribution? 
I'm
 assuming the majority of the heavy lifting would be to get GDC to target ARM
 instead of x86 and then to get the GC to walk the ARM specific heap.
 
 Has anybody started such a project?
 
 

As Lars mentioned I have started an arm-wince-pe project for gdc. Not quite the same as arm-linux, but perhaps some of the same principles will apply. I'll give some suggestions. Start by building a working arm-linux gcc/g++ cross-compiler. Make sure you can configure/make/install it on your own. Now once you have this, you can start over but this time do the gdc installation instructions in the process. If all goes well that should be it, but if it's like mine then it will fail and you'll have to troubleshoot. Post on D.gnu if you get stuck. I think since you are targeting linux it should be much nicer than what I've had to deal with, as WinCE is it's own OS with troublesome differences from Win32.
Jul 17 2006