www.digitalmars.com         C & C++   DMDScript  

D.gnu - Compilation problem

reply "shaji" <shaji_llb yahoo.co.in> writes:
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
Aug 20 2003
next sibling parent Russ Lewis <spamhole-2001-07-16 deming-os.org> writes:
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.
Aug 22 2003
prev sibling parent "Mike Wynn" <mike.wynn l8night.co.uk> writes:
"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`
Aug 22 2003