D on other platforms than Win,Lin,Mac?
Johannes Pfau
spam at example.com
Tue Sep 6 12:25:21 PDT 2011
Trass3r wrote:
>> I've heard that our company is considering the T20 from Toradex.com
>> for a new project with remote hardware. The platform runs on Nvidia
>> Tegra and Linux.
>>
>> Since I have been very impressed by the D programming language, for
>> some years now, could it be possible to use D in such projects?
>
>You'd have to use gdc or ldc and patch at least druntime.
>Some people already managed to get stuff running on ARM but it's
>tricky.
At least for gdc only hello-world like code works. Real code hits this
issue:
https://bitbucket.org/goshawk/gdc/issue/215/alignment-of-struct-members-wrong-on-arm
This also applies to all platforms which aren't supported by dmd.
> I think the GC is problematic, thus you also have to avoid
>most of phobos.
The GC seems to work if druntime is compiled with
-fno-section-anchors , but no real testing was done.
https://bitbucket.org/goshawk/gdc/issue/120/fsection-anchors-broken-on-arm
might also be caused by bug 215.
--
Johannes Pfau
More information about the Digitalmars-d-learn
mailing list