## D - Compiler configuration?

• Andrew (17/17) Jun 08 2002 I'm trying to compile and run a couple of the D samples provided
• Carlos (3/20) Jun 08 2002 copy link.exe from dm\bin to dmd\bin, or add dm\bin to your path
• Andrew (38/38) Jun 08 2002 Interesting there's no dm\bin directory either. Thus: no linker.
• Carlos (4/6) Jun 08 2002 It's not part of D. It's the DM C++ compiler. In alpha.html it says that...
• Andrew (13/13) Jun 08 2002 And I call myself "ejumakated"....Thanks Carlos.
• Walter (8/25) Jun 08 2002 There should be a file
• Andrew (13/13) Jun 08 2002 Thanks Walter...
"Andrew" <crxace13 comcast.net> writes:
I'm trying to compile and run a couple of the D samples provided
with the compiler and keep getting a can't find 'link' error.
Anyone know how to fix this problem?

Here is the same error generated when I attempt run the example
provide at www.digitalmars.com/d\alpha.html.

E:\dmd\samples\d>\dmd\bin\shell all.sh
shell 1.00
\dmd\bin\dmd hello

Simple compile attempts does not generate the '\dmd\bin\dmd' not
found error message. I'm also not aware of such a directory,
however, there is a '\dmd\src\dmd'. I've tried copying the dmd
directory from this location to the location specified by the
error. Still no dice.  Any suggestions?

Andrew

Jun 08 2002
"Carlos" <carlos8294 msn.com> writes:
copy link.exe from dm\bin to dmd\bin, or add dm\bin to your path

"Andrew" <crxace13 comcast.net> escribió en el mensaje
news:aduggp$1ts6$1 digitaldaemon.com...
I'm trying to compile and run a couple of the D samples provided
with the compiler and keep getting a can't find 'link' error.
Anyone know how to fix this problem?

Here is the same error generated when I attempt run the example
provide at www.digitalmars.com/d\alpha.html.

E:\dmd\samples\d>\dmd\bin\shell all.sh
shell 1.00
\dmd\bin\dmd hello

Simple compile attempts does not generate the '\dmd\bin\dmd' not
found error message. I'm also not aware of such a directory,
however, there is a '\dmd\src\dmd'. I've tried copying the dmd
directory from this location to the location specified by the
error. Still no dice.  Any suggestions?

Andrew


Jun 08 2002
"Andrew" <crxace13 comcast.net> writes:
Interesting there's no dm\bin directory either.  Thus: no linker.

"Carlos" <carlos8294 msn.com> wrote in message
news:aduia7$1vg8$1 digitaldaemon.com...
| copy link.exe from dm\bin to dmd\bin, or add dm\bin to your
path
|
| "Andrew" <crxace13 comcast.net> escribi$B!&(Ben el mensaje | news:aduggp$1ts6$1 digitaldaemon.com... | > I'm trying to compile and run a couple of the D samples provided | > with the compiler and keep getting a can't find 'link' error. | > Anyone know how to fix this problem? | > | > Here is the same error generated when I attempt run the example | > provide at www.digitalmars.com/d\alpha.html. | > | > E:\dmd\samples\d>\dmd\bin\shell all.sh | > shell 1.00 | > \dmd\bin\dmd hello | > link hello,,,user32+kernel32/noi; | > Can't run 'link', check PATH | > Error: '\dmd\bin\dmd' not found | > | > Simple compile attempts does not generate the '\dmd\bin\dmd' not | > found error message. I'm also not aware of such a directory, | > however, there is a '\dmd\src\dmd'. I've tried copying the dmd | > directory from this location to the location specified by the | > error. Still no dice. Any suggestions? | > | > Andrew | > | > | |  Jun 08 2002 "Carlos" <carlos8294 msn.com> writes: It's not part of D. It's the DM C++ compiler. In alpha.html it says that the file is needed (dm.zip) "Andrew" <crxace13 comcast.net> escribió en el mensaje news:aduitc$202t$1 digitaldaemon.com... Interesting there's no dm\bin directory either. Thus: no linker. It is not included in the dmdalpha.zip file I downloaded.  Jun 08 2002 "Andrew" <crxace13 comcast.net> writes: And I call myself "ejumakated"....Thanks Carlos. "Carlos" <carlos8294 msn.com> wrote in message news:aduj1v$208f$1 digitaldaemon.com... | It's not part of D. It's the DM C++ compiler. In alpha.html it says that the | file is needed (dm.zip) | | "Andrew" <crxace13 comcast.net> escribi$B!&(Ben el mensaje
| news:aduitc$202t$1 digitaldaemon.com...
| > Interesting there's no dm\bin directory either.  Thus: no
| > It is not included in the dmdalpha.zip file I downloaded.
| >

Jun 08 2002
"Walter" <walter digitalmars.com> writes:
There should be a file
\dmd\bin\dmd.exe
on your machine, which is the D compiler. There should also be a file:
set PATH=\dm\bin; .. the rest of your PATH ..

"Andrew" <crxace13 comcast.net> wrote in message
news:aduggp$1ts6$1 digitaldaemon.com...
I'm trying to compile and run a couple of the D samples provided
with the compiler and keep getting a can't find 'link' error.
Anyone know how to fix this problem?

Here is the same error generated when I attempt run the example
provide at www.digitalmars.com/d\alpha.html.

E:\dmd\samples\d>\dmd\bin\shell all.sh
shell 1.00
\dmd\bin\dmd hello

Simple compile attempts does not generate the '\dmd\bin\dmd' not
found error message. I'm also not aware of such a directory,
however, there is a '\dmd\src\dmd'. I've tried copying the dmd
directory from this location to the location specified by the
error. Still no dice.  Any suggestions?

Andrew


Jun 08 2002
"Andrew" <crxace13 comcast.net> writes:
Thanks Walter...
Carlos helped me to fined the errors to my ways...

Andrew

"Walter" <walter digitalmars.com> wrote in message
news:aduk1i$216b$1 digitaldaemon.com...
| There should be a file
|     \dmd\bin\dmd.exe
| on your machine, which is the D compiler. There should also be
a file: