SCons and gdc

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Oct 22 13:46:31 PDT 2012


On Mon, Oct 22, 2012 at 09:15:41PM +0100, Iain Buclaw wrote:
> On 22 October 2012 20:41, H. S. Teoh <hsteoh at quickfur.ath.cx> wrote:
[...]
> > This is only the gdc-4.7 branch, though; git master isn't building
> > on my system because the gcc build script mistakes Walter's
> > pathological naming of C++ source files with a .c extension for
> > actual C code, which causes it to invoke the wrong compiler and
> > produce reams and reams of compile errors before dying miserably.
> > I'm still trying to figure out how to fix this.
> >
> 
> It shoudln't be doing that - I would instead question what revision of
> GCC you are currently using.  As it's switch to C++ as the default
> compiler around 2 months ago.
[...]

Does gdc git master require gcc-4.8 to build (I mean, 4.8 installed as
default compiler on the system, not just 4.8 sources)?

% gcc --version
gcc (Debian 4.7.2-4) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/mnt/1/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-4' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-4) 



T

-- 
Let's call it an accidental feature. -- Larry Wall


More information about the Digitalmars-d mailing list