c++ - Help with DM compiler...
- Dragomir Jankovic (3/3) Jan 22 2002 This is a newbie question, so just put up with me. I just downloaded a
- Walter (3/6) Jan 22 2002 Just unzip it and put \dm\bin in your PATH environment variable. -Walter
- Dragomir Jankovic (21/28) Jan 22 2002 I did the PATH thing, but when I try to compile the program I get the
- Jan Knepper (6/35) Jan 23 2002 You're compiling for MS-DOS 16 bits target platform.
- Phill (11/56) Feb 10 2002 also you dont need to use any flags to compile it
- Jan Knepper (5/69) Feb 13 2002 Correct!
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:variable. -WalterI 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 environmentdownloaded a"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 justmanualDM C/C++ compiler, but how do I install it/run it??? Is there aof some kind that I could download???
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:variable. -WalterI 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 environmentdownloaded a"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 justmanualDM C/C++ compiler, but how do I install it/run it??? Is there aof some kind that I could download???
Feb 13 2002