Thread overview
Compilation changes
Mar 13, 2015
bearophile
Mar 13, 2015
Ali Çehreli
Mar 13, 2015
bearophile
March 13, 2015
Time ago Dmitry Olshansky gave me a nice script to compile dmd+Phobos from github, starting like this:

> My recipe on Windows, by Dmitry Olshansky:
> 0. Make sure there are no other DMD in the Windows path.
> 1. Get the latest DMD release zip you can find, unzip to some drive root(! otherwise get's trickier)
> 2. Delete all within src subfolder
> 3. Get a Git console in \dmd2\src, then the usual:
> ...

Now I think it doesn't work any more, giving errors like this:

make -fwin32.mak C=backend TK=tk ROOT=root HOST_DC="" reldmd
make -fwin32.mak C=backend TK=tk ROOT=root HOST_DC="" "OPT=-o" "DEBUG=" "LFLAGS=-L/delexe/la" dmd.exe
run idgen
Error: 'run' not found

--- errorlevel 1

--- errorlevel 1


So is Dmitry (or someone else) willing and able to tell me how to fix my compilation script and what to do?

Thank you,
bye,
bearophile
March 13, 2015
On 03/13/2015 05:26 AM, bearophile wrote:

> Now I think it doesn't work any more, giving errors like this:

That may be related to the recent changes in the build system. Have you been following the following threads? (I haven't been; so, I am sure whether they apply.)

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

"Proposal : aggregated dlang git repository"

"dmd 2.066.1 cannot build phobos 2.066.1"

Ali

March 13, 2015
Ali Çehreli:

> That may be related to the recent changes in the build system.

Right.


> Have you been following the following threads? (I haven't been; so, I am sure whether they apply.)

I have not.


> "[dmd-internals] DMD now requires a working D compiler to be build"
>
> "Proposal : aggregated dlang git repository"
>
> "dmd 2.066.1 cannot build phobos 2.066.1"

I will try to get something out of those threads, thank you :-)

Bye,
bearophile