www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Cannot find link.exe

reply Rom <rom_cab03 yahoo.com> writes:
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
Nov 09 2008
parent reply "Denis Koroskin" <2korden gmail.com> writes:
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)
Nov 09 2008
parent reply Rom <rom_cab03 yahoo.com> writes:
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.
Nov 09 2008
next sibling parent "Bill Baxter" <wbaxter gmail.com> writes:
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
Nov 09 2008
prev sibling parent reply ore-sama <spam here.lot> writes:
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.
Nov 09 2008
parent "Bill Baxter" <wbaxter gmail.com> writes:
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
Nov 09 2008