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

c++ - Help with DM compiler...

↑ ↓ ← Dragomir Jankovic <jdragomir accesscomm.ca> writes:
This is a newbie question, so just put up with me.  I just downloaded a
DM C/C++ compiler, but how do I install it/run it??? Is there a manual
of some kind that I could download???
Jan 22 2002
↑ ↓ "Walter" <walter digitalmars.com> writes:
Just unzip it and put \dm\bin in your PATH environment variable. -Walter

"Dragomir Jankovic" <jdragomir accesscomm.ca> wrote in message
news:3C4DD258.3099439D accesscomm.ca...
 This is a newbie question, so just put up with me.  I just downloaded a
 DM C/C++ compiler, but how do I install it/run it??? Is there a manual
 of some kind that I could download???

Jan 22 2002
↑ ↓ Dragomir Jankovic <jdragomir accesscomm.ca> writes:
I did the PATH thing, but when I try to compile the program I get the
following output:

C:\WINDOWS\Desktop>cd..

C:\WINDOWS>cd..

C:\>edit hello.cc

C:\>sc -cpp -ms hello.cc
link hello/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

SDS.lib
 Warning 2: File Not Found SDS.lib
OPTLINK : Warning 23: No Stack
hello.obj(hello)
 Error 42: Symbol Undefined __acrtused
hello.obj(hello)
 Error 42: Symbol Undefined _puts
OPTLINK : Warning 134: No Start Address

--- errorlevel 2

C:\>

This is suppose to be just the simple "Hello world"

Walter wrote:

 Just unzip it and put \dm\bin in your PATH environment variable. -Walter

 "Dragomir Jankovic" <jdragomir accesscomm.ca> wrote in message
 news:3C4DD258.3099439D accesscomm.ca...
 This is a newbie question, so just put up with me.  I just downloaded a
 DM C/C++ compiler, but how do I install it/run it??? Is there a manual
 of some kind that I could download???


Jan 22 2002
↑ ↓ Jan Knepper <jan smartsoft.cc> writes:
You're compiling for MS-DOS 16 bits target platform.
Try using -mn instead of -ms
If you want to compile for MS-DOS 16 bits target platform, you will need
additional libraries.

Jan



Dragomir Jankovic wrote:

 I did the PATH thing, but when I try to compile the program I get the
 following output:

 C:\WINDOWS\Desktop>cd..

 C:\WINDOWS>cd..

 C:\>edit hello.cc

 C:\>sc -cpp -ms hello.cc
 link hello/noi;
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 SDS.lib
  Warning 2: File Not Found SDS.lib
 OPTLINK : Warning 23: No Stack
 hello.obj(hello)
  Error 42: Symbol Undefined __acrtused
 hello.obj(hello)
  Error 42: Symbol Undefined _puts
 OPTLINK : Warning 134: No Start Address

 --- errorlevel 2

 C:\>

 This is suppose to be just the simple "Hello world"

 Walter wrote:

 Just unzip it and put \dm\bin in your PATH environment variable. -Walter

 "Dragomir Jankovic" <jdragomir accesscomm.ca> wrote in message
 news:3C4DD258.3099439D accesscomm.ca...
 This is a newbie question, so just put up with me.  I just downloaded a
 DM C/C++ compiler, but how do I install it/run it??? Is there a manual
 of some kind that I could download???



Jan 23 2002
↑ ↓ "Phill" <phillbert pacific.net.au> writes:
also you dont need to use any flags to compile it
you can just type

sc hello.cpp

and then

hello

to run it.


"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3C4F1C14.43A0352 smartsoft.cc...
 You're compiling for MS-DOS 16 bits target platform.
 Try using -mn instead of -ms
 If you want to compile for MS-DOS 16 bits target platform, you will need
 additional libraries.

 Jan



 Dragomir Jankovic wrote:

 I did the PATH thing, but when I try to compile the program I get the
 following output:

 C:\WINDOWS\Desktop>cd..

 C:\WINDOWS>cd..

 C:\>edit hello.cc

 C:\>sc -cpp -ms hello.cc
 link hello/noi;
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 SDS.lib
  Warning 2: File Not Found SDS.lib
 OPTLINK : Warning 23: No Stack
 hello.obj(hello)
  Error 42: Symbol Undefined __acrtused
 hello.obj(hello)
  Error 42: Symbol Undefined _puts
 OPTLINK : Warning 134: No Start Address

 --- errorlevel 2

 C:\>

 This is suppose to be just the simple "Hello world"

 Walter wrote:

 Just unzip it and put \dm\bin in your PATH environment



 "Dragomir Jankovic" <jdragomir accesscomm.ca> wrote in message
 news:3C4DD258.3099439D accesscomm.ca...
 This is a newbie question, so just put up with me.  I just




 DM C/C++ compiler, but how do I install it/run it??? Is there a




 of some kind that I could download???




Feb 10 2002
↑ ↓ → Jan Knepper <jan smartsoft.cc> writes:
Correct!
That's true for the newer versions.
Older version default to an other memory model...

Jan



Phill wrote:

 also you dont need to use any flags to compile it
 you can just type

 sc hello.cpp

 and then

 hello

 to run it.

 "Jan Knepper" <jan smartsoft.cc> wrote in message
 news:3C4F1C14.43A0352 smartsoft.cc...
 You're compiling for MS-DOS 16 bits target platform.
 Try using -mn instead of -ms
 If you want to compile for MS-DOS 16 bits target platform, you will need
 additional libraries.

 Jan



 Dragomir Jankovic wrote:

 I did the PATH thing, but when I try to compile the program I get the
 following output:

 C:\WINDOWS\Desktop>cd..

 C:\WINDOWS>cd..

 C:\>edit hello.cc

 C:\>sc -cpp -ms hello.cc
 link hello/noi;
 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 SDS.lib
  Warning 2: File Not Found SDS.lib
 OPTLINK : Warning 23: No Stack
 hello.obj(hello)
  Error 42: Symbol Undefined __acrtused
 hello.obj(hello)
  Error 42: Symbol Undefined _puts
 OPTLINK : Warning 134: No Start Address

 --- errorlevel 2

 C:\>

 This is suppose to be just the simple "Hello world"

 Walter wrote:

 Just unzip it and put \dm\bin in your PATH environment



 "Dragomir Jankovic" <jdragomir accesscomm.ca> wrote in message
 news:3C4DD258.3099439D accesscomm.ca...
 This is a newbie question, so just put up with me.  I just




 DM C/C++ compiler, but how do I install it/run it??? Is there a




 of some kind that I could download???





Feb 13 2002