Public bug reported:

Binary package hint: gdc-4.2

gdc is simple unable to compile even a simple, easy, hello world
program.

[EMAIL PROTECTED]:~/dsss-0.75# cat test.d
import std.stdio;

void main(string[] args)
{
    writefln("Hello World, Reloaded");
}
[EMAIL PROTECTED]:~/dsss-0.75# gdc test.d
gdc: error trying to exec 'cc1d': execvp: No such file or directory
[EMAIL PROTECTED]:~/dsss-0.75# gdc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,d --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 
--enable-clocale=gnu --disable-libmudflap --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 20080225 (prerelease gdc 0.25 20071215, using dmd 1.022) 
(Ubuntu 0.25-4.2.3-2ubuntu2)
[EMAIL PROTECTED]:~/dsss-0.75# cd /usr/lib/gcc/x86_64-linux-gnu/4.2/cc1d
bash: cd: /usr/lib/gcc/x86_64-linux-gnu/4.2/cc1d: Not a directory
[EMAIL PROTECTED]:~/dsss-0.75# file  /usr/lib/gcc/x86_64-linux-gnu/4.2/cc1d
/usr/lib/gcc/x86_64-linux-gnu/4.2/cc1d: ELF 64-bit LSB executable, x86-64, 
version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), 
stripped


As you can see the cc1d program is there, but gdc is not able to find it.

if i install gdc-4.1 it works like a sharm:

[EMAIL PROTECTED]:~/dsss-0.75# gdc-4.1 test.d
[EMAIL PROTECTED]:~/dsss-0.75# gdc-4.2 test.d
gdc-4.2: error trying to exec 'cc1d': execvp: No such file or directory


I think that the problem is in the source. Please try to fix it since a not 
usable gdc is useless. Thanks.

** Affects: gdc-4.2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gdc does not work in intrepid
https://bugs.launchpad.net/bugs/282400
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to