GDC phobos source path
Johannes Pfau via D.gnu
d.gnu at puremagic.com
Tue Jun 23 10:42:20 PDT 2015
Am Tue, 23 Jun 2015 15:37:35 +0000
schrieb "John Colvin" <john.loughran.colvin at gmail.com>:
> How does gdc know where to look for druntime/phobos source code?
> I successfully built gdc for the first time on OS X, but it's
> looking at completely the wrong source code.
>
> I have gdc manually (i.e. make install) installed in /opt/gdc and
> ldc installed via homebrew in /usr/local, but when I try and
> compile anything with gdc I get
>
> /usr/local/Cellar/ldc/0.15.2-beta1/include/d/core/stdc/config.d:28:3:
> error: static if conditional cannot be at global scope static
> if( (void*).sizeof > int.sizeof ) ^
>
> which makes very little sense to me. At the very least I would
> have expected it to see /usr/local/include/d or
> /usr/local/include/d2
That's really strange. This code handles include paths:
https://github.com/D-Programming-GDC/GDC/blob/master/gcc/d/d-incpath.cc
More information about the D.gnu
mailing list