July 03, 2011
Is there a limit to how far DMD releases are supported?

I've tried to install 1.023 but I got back an error:

dvm install -t 1.023
Installing: dmd-1.023
dvm.dvm.Exceptions.DvmException@dvm\commands\Install.d(109): The
platform "windows" is not compatible with the compiler dmd 1.023

I needed that version to attempt to build the ancient cairo bindings for D. I wanted to try the bindings out without having to port everything to a new DMD version.
July 03, 2011
Hmm, looks like 1.023 can't build it. So it must be some older/newer version that builds it. But how can I tell when it doesn't say in the readme, argh.
July 04, 2011
Andrej Mitrovic Wrote:

> Is there a limit to how far DMD releases are supported?

You are able to find very old versions of DMD too, all the way to the latest one. This is the support.

Bye,
bearophile
July 04, 2011
Am 04.07.2011 03:01, schrieb bearophile:
> Andrej Mitrovic Wrote:
> 
>> Is there a limit to how far DMD releases are supported?
> 
> You are able to find very old versions of DMD too, all the way to the latest one. This is the support.
> 

I think he was talking about how far DVM supports old DMD releases, not the support/availability from the D project (I hope I didn't misunderstand you ;-)).

Cheers,
- Daniel
July 04, 2011
On 7/4/11, Daniel Gibson <metalcaedes@gmail.com> wrote:
> Am 04.07.2011 03:01, schrieb bearophile:
>> Andrej Mitrovic Wrote:
>>
>>> Is there a limit to how far DMD releases are supported?
>>
>> You are able to find very old versions of DMD too, all the way to the latest one. This is the support.
>>
>
> I think he was talking about how far DVM supports old DMD releases, not the support/availability from the D project (I hope I didn't misunderstand you ;-)).
>
> Cheers,
> - Daniel
>

Yeah exactly. Also, DMD versions older than 1.01 are not available on the site (not that I care). The copyright in the sources says 2006, and the 1.01 dates 2007. So I'm not sure which version of the compiler was used to compile those bindings. I've emailed the author though, waiting for an answer atm.
July 04, 2011
On 2011-07-03 22:12, Andrej Mitrovic wrote:
> Is there a limit to how far DMD releases are supported?
>
> I've tried to install 1.023 but I got back an error:
>
> dvm install -t 1.023
> Installing: dmd-1.023
> dvm.dvm.Exceptions.DvmException@dvm\commands\Install.d(109): The
> platform "windows" is not compatible with the compiler dmd 1.023
>
> I needed that version to attempt to build the ancient cairo bindings
> for D. I wanted to try the bindings out without having to port
> everything to a new DMD version.

DVM will support any version that follows this:

* Location and name of the DMD archive:
http://ftp.digitalmars.com/dmd.<version>

* The archive needs to contain a single folder with one of the following names: "dmd" or "dmd2"

* The platform specific files need to be in a folder named as follows:
Mac OS X: "osx"
Linux: "linux"
FreeBSD: "freebsd"
Windows: "windows"

(seems to be failing at this requirement).

* The path of the bin folder needs to be located in the platform specific folder and be named "bin" or "bin64"

* The path of the bin folder needs to be located in the platform specific folder and be named "lib" or "lib64"

* It needs to have a folder named "src" at the root level

* It needs to have a file named "dmd.conf" (on posix) or "sc.ini" (on windows) in the bin folder.

-- 
/Jacob Carlborg
July 04, 2011
Oh ok, I'll try rearranging the archive and see if that helps.
1 2
Next ›   Last »