ubuntu 8.04 D 2.0 build?

Moritz Warning moritzwarning at web.de
Sun Jul 6 18:41:22 PDT 2008


On Mon, 07 Jul 2008 01:00:47 +0000, Markus Koskimies wrote:

> On Thu, 03 Jul 2008 17:29:48 +0000, name wrote:
> 
>> The default gdc package on ubuntu 8.04 is d 1.0
>> 
>> (prerelease gdc 0.25 20071215, using dmd 1.022)
>> 
>> I just wonder if there's a D 2.0 build?
>> 
>> Thanks.
> 
> Hi, have anyone really got this working?
> 
> I just bought a new 64-bit computer, and installed 64-bit Xubuntu on it.
> I have a bunch of programs written with D (version 1) and I have earlier
> used "dmd" for compiling them (some older, but functional version).
> 
> ---
> 
> First I fetched GDC from repository. It can't compile my more complex
> programs, but that's another case. The simple programs were compiled,
> but none of them is working, since every "writefln" with more than the
> format string causes segfault:
> 
> 	writefln("Hello, world!");	// Works
> 
> 	writelfn("Number: %d", 1);	// Segfault
> 
> Aargh!
> 
It's a known problem with gdc based on gcc >4.1.

These build instructions do work fine for me (they are not Tango 
specific):

http://dsource.org/projects/tango/wiki/GdcInstallation


More information about the D.gnu mailing list