linker problem

Regan Heath regan at netmail.co.nz
Tue Sep 25 07:34:24 PDT 2007


Bruno Rahle wrote:
> Carlos Santander Wrote:
> 
>> Bruno Rahle escribió:
>>> Hello! I have started using D today and I have a linker problem. I've
>>> downloaded it from http://www.digitalmars.com/d/dcompiler.html and unzipped
>>> it in folder "C:\brahle\jezici\D\". However, when I try to compile something,
>>> this is what I get:
>>>
>>> "c:\brahle\jezici\D\dmd\bin\..\..\dm\bin\link.exe"
>>> sieve,,,user32+kernel32/noi; Can't run
>>> '"c:\brahle\jezici\D\dmd\bin\..\..\dm\bin\link.exe"', check PATH
>>>
>>> It seems that compiler is unable to reach the linker, although when I write
>>> the line directly into cmd, it runs ok. Can someone please help me?
>> Did you also download DMC? It is the C/C++ compiler. The linker comes with it. 
>> What is the output of link? Maybe you have another one in your path.
>>
>> -- 
>> Carlos Santander Bernal
> 
> Yes, I also downloaded the DMC. That's all I get as the otuput. And it's the only one in the path. 

When you type:
c:\brahle\jezici\D\dmd\bin\..\..\dm\bin\link.exe

into cmd it runs ok?

Those first 2 directories, do they contain any non-ascii characters? 
Try renaming them A and B and see what happens.

I assume you extracted DMC to the same path as DMD.

You should have:
C:\brahle\jezici\D\dmd
C:\brahle\jezici\D\dm

That allows this:
c:\brahle\jezici\D\dmd\bin\..\..\dm\bin\link.exe

to resolve to:
c:\brahle\jezici\D\dm\bin\link.exe

I assume that exe exists.

Regan




More information about the Digitalmars-d mailing list