[dmd-beta] dmd 2.053 beta

Michel Fortin michel.fortin at michelf.com
Sun May 8 14:37:21 PDT 2011


Le 2011-05-08 à 17:03, Jonathan M Davis a écrit :

> I think that it should be noted in the changelog that the linux version of dmd 
> now comes with both a 32-bit and 64-bit binary. Not only is this a big deal 
> that we're releasing a 64-bit binary instead of just a 32-bit binary which 
> produces 64-bit binaries, but it means that instead of linux/bin, we now have 
> linux/bin32 and linux/bin64 which will break anything which was depending on 
> the path being linux/bin. Now, users need to decide whether they want a 32-bit 
> or 64-bit binary on Linux, and they need to be aware of the change in path - 
> particulary if they're relying on dmd being in linux/bin.
> 
> I think that any changes to the directory structure of src, */bin, or */lib* 
> as well as changes to dmd.conf should be mentioned in the changelog, because 
> there are people who rely on them being the way that they are (or in the case 
> of dmd.conf, who don't actually use dmd.conf) and are going to have problems 
> when they change if they don't realize that they've changed. I think that it's 
> perfectly reasonable that they be changed as seems appropriate, but such 
> changes should be noted in the changelog.

Totally agree. Last time D for Xcode was broken in this way when osx/lib was renamed to osx/lib32. I probably should have tested the beta with D for Xcode prior the release, but it didn't occur to me that something would have changed in the osx directory layout given that 64-bit was only coming to Linux.

Now, about this beta...

In the discussion that followed (see the "lib32 on OSX" thread in the Phobos mailing list) Walter said it should be done the Mac way. That would mean returning to osx/lib instead of osx/lib32 and eventually use a universal binary for libphobos2.a when 64-bit support comes to OSX. Is this still the plan? If so, perhaps now would be a good time to change back the directory layout, because this latest beta still has the osx/lib32 directory instead of osx/lib.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the dmd-beta mailing list