dmd 2.066.1 cannot build phobos 2.066.1

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 16 20:56:50 PDT 2015


On 03/12/2015 06:07 PM, Andrei Alexandrescu wrote:
> I wonder how this could have happened. Here's what I did:
>
> git clone --quiet -b v2.066.1 --depth=1
> git://github.com/D-Programming-Language/dmd.git dmd-2.066.1
>
> git clone --quiet -b v2.066.1 --depth=1
> git://github.com/D-Programming-Language/druntime.git druntime-2.066.1
>
> git clone --quiet -b v2.066.1 --depth=1
> git://github.com/D-Programming-Language/phobos.git phobos-2.066.1
>
> After this I had three nice directories. Then I built dmd, it worked.
> Then I built druntime making sure I pass DMD=../dmd-2.066.1/src/dmd in
> make's command line. That worked, too.
>
> When I built phobos I got:
>
> ====
> Error: unrecognized switch '-conf='
> ====
>
> How did it happen that the -conf= flag is required by phobos 2.066.1 yet
> was not implemented in the same version of dmd?
>
>
> Thanks,
>
> Andrei

I haven't tried in a fresh VM, but that all works for me on Debian 
testing x64. I made sure no DMD was on my path and did this:

$ which dmd
$ mkdir test
$ cd test

$ git clone --quiet -b v2.066.1 --depth=1 
git://github.com/D-Programming-Language/dmd.git dmd-2.066.1

$ git clone --quiet -b v2.066.1 --depth=1 
git://github.com/D-Programming-Language/druntime.git druntime-2.066.1

$ git clone --quiet -b v2.066.1 --depth=1 
git://github.com/D-Programming-Language/phobos.git phobos-2.066.1

$ cd dmd-2.066.1
$ make -f posix.mak
$ cd ../druntime-2.066.1
$ make -f posix.mak DMD=../dmd-2.066.1/src/dmd
$ cd ../phobos-2.066.1
$ make -f posix.mak DMD=../dmd-2.066.1/src/dmd 
DRUNTIME_PATH=../druntime-2.066.1

Any difference from the make arguments you used? What OS?



More information about the Digitalmars-d mailing list