DMD: Unexpected Directory Structure

Anders F Björklund afb at algonet.se
Sat Nov 11 04:54:18 PST 2006


Wayne wrote:

> I've been following the D forum and announcements for a few months
> now with great interest and finally decided to jump in.
> I decided to start with the DMD package for Win32
> (later I'll try GDC on my Mac).  I unzipped the files
> as instructed, but I got a directory structure that was unexpected;

The extra "dm" directory in the dmd.zip contains some needed tools,
same as in the DM C/C++ installation: (snn.lib, make.exe, lib.exe)

565760  Defl:N   214339  62%  08-12-06 09:41  fe2e0af7  dm/lib/snn.lib
  48668  Defl:N    27272  44%  09-20-04 23:23  cf1eec7b  dm/bin/make.exe
114716  Defl:N    67240  41%  10-12-02 13:58  4a169be5  dm/bin/lib.exe

However, if you install both of them as instructed it should ask
you whether you want to overwrite the earlier/identical ones... ?

> While all this poking around was highly instructional, one
> normally does not expect this kind of "exercise for the reader"
> when starting out.  Did I miss a step in the installation?

It seems you missed the "Switch to the root directory." step,
and whatever ZIP tool you used created an extra "dmd" directory ?
(some tools do this when they encounter more than one file inside)

I think there is enough confusion with it to warrant an installer ?
http://www.algonet.se/~afb/d/dmc-setup.html (source: dmc.nsi)
http://www.algonet.se/~afb/d/dmd-setup.html (source: dmd.nsi)

But I'm only doing GDC installers, since those are re-distributable.
I could update the DMD installers (EXE and RPM) for the 1.0 release.

--anders



More information about the Digitalmars-d mailing list