Tutorial on how to build DMD/druntime/phobos and docs from source?

Philippe Sigaud philippe.sigaud at gmail.com
Thu Jan 31 08:58:51 PST 2013


On Thu, Jan 31, 2013 at 1:05 PM, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 01/30/2013 01:58 PM, timewulf wrote:
>>
>> It took me some time to realize, that it was dmd-2.60 that caused the
>> errors: To compile the libraries out of 2.61 or git, one needs a recent
>> compiler.
>
>
> More specifically, you should be compiling Phobos and druntime releases (or
> latest up-to-date git source) with the corresponding DMD release/latest dev
> version.
>
> Funnily enough I never ran into this issue because before building from
> source I scrubbed all previous DMD installs from my system, or -- when
> updating from-source builds -- I would copy the newly-built dmd to the
> appropriate path location before building runtime/Phobos, so conveniently
> overwriting the old dmd.
>
> Alex' tutorial on his (old) blog is really useful because it emphasizes the
> necessity of using the newly-built DMD rather than the old one.  And it's as
> simple as adding "DMD=../dmd/src/dmd" when invoking make.

Could you please update the wiki accordingly?  (If you don't have an
account, it takes 5 secs to get one, I did that a few weks ago)


More information about the Digitalmars-d-learn mailing list