Am Mon, 26 Dec 2016 16:26:55 +0200
schrieb Dicebot <>:

> 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
> > . 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 ./ first, cd into the
gcc-x.y.z/libphobos directory and execute:

export AUTOCONF=/opt/autoconf/2.64/bin/autoconf
export ACLOCAL=/usr/bin/aclocal-1.11           
export AUTOM4TE=/opt/autoconf/2.64/bin/autom4te
export AUTOMAKE=/usr/bin/automake-1.11

> 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

-- Johannes

Reply via email to