Am Mon, 26 Dec 2016 16:26:55 +0200
schrieb Dicebot <pub...@dicebot.lv>:
> On 12/25/2016 09:41 PM, Johannes Pfau wrote:
> > Happy holidays everybody,
> > I'm happy to finally announce the release of new GDC binaries at
> > https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
> > compiler using GCC as the compiler backend.
> A lot of great stuff! Got few questions when trying to update Arch
> Linux package though, could you please advice?
> 1) There is `gdc_include_dir` variable now, what is intended way to
> override it to custom path? `gcc/configure
> gdc_include_dir=/usr/include/dlang/gdc` doesn't seem to work
IIRC it's not really meant to be customizable. You'll have to edit
libphobos/m4/druntime.m4. To regenerate the configure script you'll
then have to call ./setup-gcc.sh first, cd into the
gcc-x.y.z/libphobos directory and execute:
> 2) As far as I can see phobos is now built as shared library by
> default. What flags affect it? I'd like to build either static one,
> or both at the same time if possible.
The default configuration should build static and shared libraries. The
flags to enable/disable library types are