GDC with later DMD's

Gregor Richards Richards at codu.org
Sun Apr 30 01:54:35 PDT 2006


Anders F Björklund wrote:
> Gregor Richards wrote:
> 
>>> You didn't say if you had been merging with what Brad did for
>>> "gdc-0.18-alpha1", so I will initially assume that you didn't.
>>
>>
>> That would be the wrong assumption, actually I did :)
> 
> [...]
> 
>>> Will run some diffs and then try to compile this for the Mac.
>>
>>
>> That'd be awesome.
> 
> 
> The entire std.c.darwin and std.c.mach modules were missing ?
> 
> It also seemed that gcc/config.d ended up the wrong way,
> thinking that GCC had long double functions defined...
> 
> I copied them over from Brad's 0.18, and edited the config.d
> Wonder if the config will work next time, if dirs are there ?
> 
> 
> There was also a "version" error in the new std.process module:
> 
> ./../../libphobos/std/process.d:98: undefined identifier (module 
> process).spawnvp
> 
> Seems that it only had "alternate" C versions for Windows...
> (the good old "there are only two platforms" bug, revisited)
> 
> --- ../libphobos/std/process.d.orig     Sat Apr 29 04:56:39 2006
> +++ ../libphobos/std/process.d  Sun Apr 30 01:51:39 2006
> @@ -93,9 +93,13 @@
>      {
>          return _spawnvp(mode, toStringz(pathname), argv_);
>      }
> -    else
> +    else version(Windows)
>      {
>          return std.c.process.spawnvp(mode, toStringz(pathname), argv_);
> +    }
> +    else
> +    {
> +       assert(0);
>      }
>  }
> 
> Wonder if that's a DMD bug, since DMD only supports Windows/Linux ?
> I'll report it anyway I think, as it really should be sent upstream.
> 
> 
> There are a few similar bugs, where version(linux) should be (Unix)...
> (Or at least I need to port std.c.fenv over to Darwin and Mac OS X.)
> 
> --anders
> 
> 
> PS.
> Commenting fenv out for now finally built Phobos OK, calling it a night.
> Will run the unit tests and other checks later, then it's Dstress time.

I guess I lost some libraries in the process of forward porting, sorry 
... I clearly wasn't as careful as I should have been :)

  - Gregor Richards



More information about the D.gnu mailing list