[dmd-internals] DMD now requires a working D compiler to be build

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 8 21:07:10 PDT 2015


On Monday, March 09, 2015 12:26:18 Daniel Murphy via Digitalmars-d wrote:
> "Walter Bright"  wrote in message news:mdiqav$17i8$1 at digitalmars.com...
>
> > On 3/8/2015 5:00 PM, Daniel Murphy wrote:
> > > If it's a new platform, why would 2.067 be able to target it?
> >
> > Because it'll have a C++ compiler.
>
> You'd be able to compile the C++ version of 2.067 on this platform, but
> 2.067 still wouldn't be able to target that platform without patches.
> Wouldn't it be easier to add support for the new platform into the latest
> compiler and cross-compile?  IIRC you did something like this in the past
> when targeting new platforms.

I thought that cross-compiling was pretty much always how you port a
compiler to a new platform. Certainly, I don't see how we could require that
ddmd forever compile with 2.067. The language is a lot more stable than it
used to be, but it isn't _that_ stable.

- Jonathan M Davis



More information about the Digitalmars-d mailing list