D and devkitARM

TheGag96 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 10 11:52:03 PST 2016


On Thursday, 10 March 2016 at 14:36:26 UTC, Nicholas Wilson wrote:
>
> Hmm.
>
> I apologise that this post is not in any logical order.
>
> dmd can only compile for x86 so you will have to use ldc or gdc
>
> makefiles are generally not used in d. you should be able to use
> the dub project settings file (dub.json or dub.sdl) to do most 
> of
> the standard linking, as for some of the deeper magic I'm not 
> sure.
>
> versioning: i'm not sure that d has a 3ds target version but it 
> has
> an arm one. includes should not be an issue.
>
> If you cannot find bindings for ctru see if dstep can do it for 
> you.
>
> I don't know what .v.pica or .shlist files are but you can use
> string imports to reference the data looks like the same idea
> can be used for the shader rule. However you may need to use a 
> prehook
> script to call whatever "picassso" does first.

Thanks for the suggestions. I know I need to use gdc, 
specifically the one found at 
ftp://ftp.gdcproject.org/binaries/devkitARM/ (or build it myself 
if this doesn't work for whatever reason).

I'm starting to think a bigger problem aside from the Makefiles 
is just getting any D to compile with that gdc version at all. 
I'm pretty sure I need some sort of bare metal runtime. Would 
this be something that could work, or should I look elsewhere? 
https://bitbucket.org/timosi/minlibd

...This probably really is above my knowledge level, but I 
suppose I'll never learn if I don't give it a shot. Like I said, 
if anyone has any sort of advice on how I should approach this, 
I'd be happy to hear it.


More information about the Digitalmars-d-learn mailing list