Archives
D Programming
DD.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...
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
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
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
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
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 Feb 10 2002
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 Feb 13 2002
|