DMD compiler choking?

Regan Heath regan at netwin.co.nz
Wed Apr 5 22:43:54 PDT 2006


On Thu, 06 Apr 2006 17:38:42 +1200, Regan Heath <regan at netwin.co.nz> wrote:
> On Thu, 6 Apr 2006 05:35:16 +0000 (UTC), Jeremy Gibson <jtgibson telus  
> net Jeremy_member at pathlink.com> wrote:
>>> Sounds like the compiler doesn't know where to look for the library  
>>> source
>>> code.  After you extract dmd.zip, you have to edit (dmd.conf on unix
>>> sc.ini) on windows and give DMD the directory where the phobos library
>>> source is (it comes with the compiler).
>>>
>>> ~John Demme
>>
>>
>> To install the compiler, I extracted both dmd.zip and dmc.zip into my  
>> C:\dev
>> folder, such that the defaults should have worked just fine, assuming  
>> the %@P%
>> evaluates correctly to the path to the current file as it's supposed to.
>>
>> Since I didn't trust that completely, though, I just manually set the  
>> paths to
>> the following, replacing the relative paths with absolute paths, in  
>> order to
>> match up to the extracted paths precisely:
>>
>> <sc.ini>
>>
>> [Version]
>> version=7.51 Build 020
>>
>> [Environment]
>> LIB="C:\dev\dmd\lib;C:\dev\dm\lib"
>> DFLAGS="-I C:\dev\dmd\src\phobos"
>> LINKCMD="C:\dev\dm\bin\link.exe"
>>
>>
>> ..But I still have no luck -- the same errors are being thrown on  
>> compilation.
>> I just tried redownloading the compiler, also with no luck.
>>
>> Maybe it just hates me? ;-)
>
> Can you post the exact output of the compile.

I ask because I wanted to see if there were any clues in the  
compiler/linker output that might suggest something.

Have you added "C:\dev\dmd\bin" to your PATH?

Regan



More information about the Digitalmars-d-learn mailing list