www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Can D compile for PowerPC Architecture?

reply Snake <loaSolidSnakemgs gmail.com> writes:
For some reason, about an hour ago I was googling stuff about X86 and PowerPC
and right now I'm not even sure if this is a serious question nor do I know if
I know what I'm talking about or if the question is even valid.

If that doesn't make sense, I want to know if you guys are developing D for use
with the PowerPC Instruction Set

The question: Can you program for PowerPC architecture using D? In my mind I'm
having these crazy ideas about things that are remotely relevant to programming
but...whatever <_< This is me rambling at this point.
Oct 01 2009
next sibling parent Jarrett Billingsley <jarrett.billingsley gmail.com> writes:
On Thu, Oct 1, 2009 at 4:16 PM, Snake <loaSolidSnakemgs gmail.com> wrote:
 For some reason, about an hour ago I was googling stuff about X86 and PowerPC
and right now I'm not even sure if this is a serious question nor do I know if
I know what I'm talking about or if the question is even valid.

 If that doesn't make sense, I want to know if you guys are developing D for
use with the PowerPC Instruction Set

 The question: Can you program for PowerPC architecture using D? In my mind I'm
having these crazy ideas about things that are remotely relevant to programming
but...whatever <_< This is me rambling at this point.
AFAIK yes. I think GDC can do it, but it's long been out-of-date. I haven't heard much about LDC on that front.
Oct 01 2009
prev sibling parent reply Jesse Phillips <jesse.k.phillips+d gmail.com> writes:
Snake Wrote:

 For some reason, about an hour ago I was googling stuff about X86 and PowerPC
and right now I'm not even sure if this is a serious question nor do I know if
I know what I'm talking about or if the question is even valid.
 
 If that doesn't make sense, I want to know if you guys are developing D for
use with the PowerPC Instruction Set
 
 The question: Can you program for PowerPC architecture using D? In my mind I'm
having these crazy ideas about things that are remotely relevant to programming
but...whatever <_< This is me rambling at this point.
You will have to look at GDC and LDC. http://www.dsource.org/projects/ldc/wiki/PlatformSupport * LDC compiles, but bugs in frontend * porting of GDC fixes suggested * runtime, inline asm and exception handling need work * contact: none
Oct 01 2009
parent Snake <loaSolidSnakemgs gmail.com> writes:
Jesse Phillips Wrote:

 You will have to look at GDC and LDC.
 
 http://www.dsource.org/projects/ldc/wiki/PlatformSupport
 
     * LDC compiles, but bugs in frontend
     * porting of GDC fixes suggested
     * runtime, inline asm and exception handling need work
     * contact: none 
I looked into GDC a little bit, and I'm wondering if it can support the cell processor? I was looking at this article: http://www.ibm.com/developerworks/power/library/pa-linuxps3-1/ There are some additional things that are required to be used to fully use the cell processor. GCC is mentioned in this article so I think GCC would be the most appropriate compiler for C/C++. Since you guys support Linux Based PowerPCs, then i simply want to know, based on this article, if it would be possible to fully utilize the cell with D.
Oct 07 2009