gdc on sparc with debian-linux problem.

Ish via D.gnu d.gnu at puremagic.com
Wed Dec 2 09:04:57 PST 2015


Trying to install gdc on Sparc box with (gcc 4.6.3, see below).

$ uname -a
Linux cps-pe101d24518 3.2.0-4-sparc64-smp #1 SMP Debian 
3.2.68-1+deb7u2 sparc64 GNU/Linux

$ gcc --version
gcc (Debian 4.6.3-14) 4.6.3
Copyright (C) 2011 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.

$ gdc-4.4 --version
gdc-4.4 (Debian 4.4.7-1) 4.4.7
Copyright (C) 2010 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.

$ gdc-4.4 hello.d
cc1d: warning: command line option "-imultilib" is valid for 
C/C++/Fortran/ObjC/ObjC++ but not for D
hello.d:9: Error: undefined identifier writeln, did you mean 
function writefln?
hello.d:9: Error: function expected before (), not __error of 
type _error_

./a.out
Bus error

There is another gdc in repository gdc-v1 too.
Any ideas?

-ish


More information about the D.gnu mailing list