Thread overview
Cannot find link.exe
Nov 09, 2008
Rom
Nov 09, 2008
Denis Koroskin
Nov 09, 2008
Rom
Nov 09, 2008
Bill Baxter
Nov 09, 2008
ore-sama
Nov 09, 2008
Bill Baxter
November 09, 2008
Hi
  I downloaded dmd2.014 for D windows compiler. I also set the environment
variables. When i try to build my programs, i received an error : "Cannot find
application link.exe". I cannot find the right answer to my problems. Hope you
can help me
November 09, 2008
On Sun, 09 Nov 2008 13:43:24 +0300, Rom <rom_cab03@yahoo.com> wrote:

> Hi
>   I downloaded dmd2.014 for D windows compiler. I also set the environment
> variables. When i try to build my programs, i received an error : "Cannot find
> application link.exe". I cannot find the right answer to my problems. Hope you
> can help me

Download the dmc.zip package, too (http://digitalmars.com/d/download.html)
November 09, 2008
Hi pal,

 i also downloaded the dmc.zip. I extracted it and found link.exe there. I tried
to copy it on the dmd bin directory but i got a lots of error.
November 09, 2008
On Sun, Nov 9, 2008 at 8:52 PM, Rom <rom_cab03@yahoo.com> wrote:
> Hi pal,
>
>  i also downloaded the dmc.zip. I extracted it and found link.exe there. I tried
> to copy it on the dmd bin directory but i got a lots of error.

I'm not sure why it wouldn't work, but typically that stuff goes into dm/bin, while the D stuff goes into dmd/bin.  Maybe the errors you got were about copying over existing files?

--bb
November 09, 2008
Rom Wrote:

> Hi pal,
> 
>  i also downloaded the dmc.zip. I extracted it and found link.exe there. I tried
> to copy it on the dmd bin directory but i got a lots of error.

you should extract whole dmc archive, also check dmd configuration.
November 09, 2008
On Sun, Nov 9, 2008 at 10:52 PM, ore-sama <spam@here.lot> wrote:
> Rom Wrote:
>
>> Hi pal,
>>
>>  i also downloaded the dmc.zip. I extracted it and found link.exe there. I tried
>> to copy it on the dmd bin directory but i got a lots of error.
>
> you should extract whole dmc archive, also check dmd configuration.

The configuration is in dmd\bin\sc.ini.
There you can see it says:
    LINKCMD=%@P%\..\..\dm\bin\link.exe

Which means it expects link .exe to be in a dm\bin directory that's parallel to the dmd\bin directory.

So yeh, it ain't gonna work copying link.exe to the dmd\bin directory.

--bb