www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - Compilation problem

↑ ↓ ← "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
→ 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
→ "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

 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.

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