www.digitalmars.com         C & C++   DMDScript  

D.gnu - D for not x86 architectures

reply MicroWizard <MicroWizard_member pathlink.com> writes:
I did not follow the last 5-6 month
so I am not uptodate knowing how evolve D,
and maybe my question is already answered.

Is it possible (or do anybody know obstacles against)
to port D (means DLI or DMD or D.gnu or whatever)
to an non x86 architecture? (ex. Digital Alpha, true 64 bit)

It seems to me that the problem could be only in the code generation.

And if I understood well, this GNU approach
makes possible to use GCC (or part of) generating code.

I have not too much spare time, but I would like to make some trials,
experiments.

Tamas Nagy
Jan 22 2004
parent "Ben Hinkle" <bhinkle4 juno.com> writes:
"MicroWizard" <MicroWizard_member pathlink.com> wrote in message
news:bupia4$e2d$1 digitaldaemon.com...
 I did not follow the last 5-6 month
 so I am not uptodate knowing how evolve D,
 and maybe my question is already answered.

 Is it possible (or do anybody know obstacles against)
 to port D (means DLI or DMD or D.gnu or whatever)
 to an non x86 architecture? (ex. Digital Alpha, true 64 bit)

Yes, it is possible. There isn't anything specific to x86 in D.
 It seems to me that the problem could be only in the code generation.

 And if I understood well, this GNU approach
 makes possible to use GCC (or part of) generating code.

 I have not too much spare time, but I would like to make some trials,
 experiments.

I would love to hear about someone trying to get the frontend built on another architecture. It might not work the first time, though, and some patience might be required.
 Tamas Nagy

Jan 22 2004