On Thursday, 30 October 2014 at 15:39:55 UTC, Joakim wrote:
Someone may have been thorough when adding arches to certain
files, but that in no way implies much actual support.
Looking closer, it's all ELF header stuff, so that sounds about
right.
You may be able to combine the existing Solaris support and the
sparc backend of llvm or gcc and get pretty far. A lot of the
work should just be translating headers needed for the
solaris/sparc sections in druntime. You could look at the
linux/powerpc work Kai did with ldc for an idea of the changes
necessary for a new arch.
Sounds fairly reasonable to me. Happen to have a link to a
commit or branch with that or do I need to go digging?
As kagamin said, dmd's backend is i386/x86_64 only, so you have
to use ldc or gdc.
Never really made that connection (because lol PCs), but it makes
sense when I think about it. Point was more that I don't care
even if I have to compile to C and then build _that_.
Thanks for the response. If it looks like there's a tenable
path, then comes the hard part: getting my boss on board with
this. orz
-Wyatt