March 09, 2015
"Vladimir Panteleev"  wrote in message news:vdwvdnzzzhenuybcbxjx@forum.dlang.org...

> What about source Linux distributions, like Gentoo?
>
> What do other self-hosted languages do in this situation?

Download the zip. 

March 09, 2015
On Monday, 9 March 2015 at 13:32:10 UTC, Daniel Murphy wrote:
> "Vladimir Panteleev"  wrote in message news:bujssfggzyassdtzdegn@forum.dlang.org...
>
>> It depends, do we have a stable URL structure for DMD downloads so that you can build a working download URL with only the platform and version?
>
> Sorta http://downloads.dlang.org/releases/2014/

That has the year in the URL though...

Can I get that programmatically, other than by querying the git tag?
March 09, 2015
"Vladimir Panteleev"  wrote in message news:bbnllblbmhtjnkmdthgv@forum.dlang.org...

> That has the year in the URL though...
>
> Can I get that programmatically, other than by querying the git tag?

Not that I know of. 

March 09, 2015
On 2015-03-09 15:40, Vladimir Panteleev wrote:

> That has the year in the URL though...

This might be easier: http://downloads.dlang.org/releases/2.x/

-- 
/Jacob Carlborg
March 10, 2015
On Tuesday, March 10, 2015 00:41:50 Daniel Murphy via Digitalmars-d wrote:
> "Vladimir Panteleev"  wrote in message news:vdwvdnzzzhenuybcbxjx@forum.dlang.org...
>
> > What about source Linux distributions, like Gentoo?
> >
> > What do other self-hosted languages do in this situation?
>
> Download the zip.

And it's not like dmd would be alone with this problem. Other languages' compilers are written in the language that they compile as well (e.g. Haskell's ghc is written in Haskell), so it's not like this is a new problem. And actually, that's really what you're doing with gcc as well on gentoo - it's just that it comes with the base install rather than downloading it from elsewhere, but it's initially built elsewhere, otherwise gentoo would have nothing to compile with.

- Jonathan M Davis

March 10, 2015
On Tuesday, 10 March 2015 at 10:33:24 UTC, Jonathan M Davis wrote:
> And it's not like dmd would be alone with this problem. Other languages'
> compilers are written in the language that they compile as well

Yeah, besides you could cross compile to LLVM IR and use whatever LLVM tools exists on the target platform from there. Besides, you probably have access to an emulator if the target platform is really weird.

The move to D based refactored D compiler is very promising. Kudos to the people behind this effort!

March 10, 2015
On 3/8/15 7:49 AM, Vladimir Panteleev wrote:
> ( Replying to http://forum.dlang.org/post/54FB47B8.5060204@dawg.eu -
> sorry, can't post to the ML right now )
>
>> First step towards self-hosting DDMD compiler.
>> Please update your builds scripts and setups.
>> https://github.com/D-Programming-Language/dmd/pull/3970
>
> Congratulations are in order.
>
> I have a question from Digger's perspective:
>
> Which version of DMD will be required to build DDMD?
>
> Will DDMD code be constrained to the feature set of DMD 2.067?

I think that's 2.066.1, right?

BTW I just added https://issues.dlang.org/show_bug.cgi?id=14274. Who wants to take it?


Andrei

March 11, 2015
"Andrei Alexandrescu"  wrote in message news:mdnvct$1avc$1@digitalmars.com...

> I think that's 2.066.1, right?

2.066.1 is enough to build idgen.d, but it can't build ddmd on all platforms.  Among other things, the varargs fixes are missing. 

March 11, 2015
On 3/10/15 5:06 PM, Daniel Murphy wrote:
> "Andrei Alexandrescu"  wrote in message
> news:mdnvct$1avc$1@digitalmars.com...
>
>> I think that's 2.066.1, right?
>
> 2.066.1 is enough to build idgen.d, but it can't build ddmd on all
> platforms.  Among other things, the varargs fixes are missing.

But this is weird - a release being built is required for building, um, itself?

I do understand that idgen is a separate executable but the simple view is that if dmd 2.067 requires dmd being present, the preexisting dmd can't be 2.067.

Or I'm misunderstanding something. The short version is the simpler the bootstrapping the better.


Andrei

March 11, 2015
On Wednesday, 11 March 2015 at 02:10:12 UTC, Andrei Alexandrescu wrote:
> On 3/10/15 5:06 PM, Daniel Murphy wrote:
>> "Andrei Alexandrescu"  wrote in message
>> news:mdnvct$1avc$1@digitalmars.com...
>>
>>> I think that's 2.066.1, right?
>>
>> 2.066.1 is enough to build idgen.d, but it can't build ddmd on all
>> platforms.  Among other things, the varargs fixes are missing.
>
> But this is weird - a release being built is required for building, um, itself?
>
> I do understand that idgen is a separate executable but the simple view is that if dmd 2.067 requires dmd being present, the preexisting dmd can't be 2.067.
>
> Or I'm misunderstanding something. The short version is the simpler the bootstrapping the better.

2.067 doesn't have DMD-built idgen yet. This is only applies to current master and thus 2.068