Thread overview
Compilation problem
Aug 22, 2003
shaji
Aug 22, 2003
Russ Lewis
Aug 22, 2003
Mike Wynn
August 22, 2003
I unzipped the D compiler in to C:\DCompiler and D linker into C:\DLinker
directories and set the environment variables accordingly. I have given the
path to dmd correctly. When tried to compile hello.c and hello by typing
"dmc hello" it worked fine. But when i tried to compile hello.d with the
same source code the message was that dmd could not run. Check the path. .
What could be the problem?
Shaji.





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003


August 22, 2003
shaji wrote:
> I unzipped the D compiler in to C:\DCompiler and D linker into C:\DLinker
> directories and set the environment variables accordingly. I have given the
> path to dmd correctly. When tried to compile hello.c and hello by typing
> "dmc hello" it worked fine. But when i tried to compile hello.d with the
> same source code the message was that dmd could not run. Check the path. .
> What could be the problem?
> Shaji.
> 
> 
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003

Did you chmod dmd?  dmd, obj2asm, and dumpobj all need to have their execute bits turned on.

August 22, 2003
"shaji" <shaji_llb@yahoo.co.in> wrote in message news:bi4nib$6oc$1@digitaldaemon.com...
> I unzipped the D compiler in to C:\DCompiler and D linker into C:\DLinker directories and set the environment variables accordingly. I have given
the
> path to dmd correctly. When tried to compile hello.c and hello by typing
> "dmc hello" it worked fine. But when i tried to compile hello.d with the
> same source code the message was that dmd could not run. Check the path. .
> What could be the problem?
> Shaji.
>
I think you've posted to the wrong group
unless you want to read the docs on how to set up dmd.ini, sc.ini and the
env vars etc
use c:\dmd\. ..... for dmd.zip (so that dmd.exe is located as
c:\dmd\bin\dmd.exe)
use c:\dm for dmc.zip for (so that link.exe  is located as
c:\dm\bin\link.exe)
then `path c:\dmd\bin;c:\dm\bin;%PATH%`
and all will work `out of the tin`