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 C/C++ Compiler on DOS

↑ ↓ ← Philippe Signoret <Sigma.Tech gmx.net> writes:
Greetings,

I just downloaded DM C/C++ compiler, so that I could put it on my old
laptop (with IBM DOS 5.00 -no Windows). 

I got the files onto the laptop,
but it says messages like "Requires Win32" and "This is a 32 bit Windows
NT program.

Is there some special thing I should do to get it to work, or does it
not work in DOS without Windows??

Please help!!!
Apr 02 2002
↑ ↓ Jan Knepper <jan smartsoft.cc> writes:
The latest version does not work on DOS, it requires a Win32 platform.
Jan



Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my old
 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit Windows
 NT program.

 Is there some special thing I should do to get it to work, or does it
 not work in DOS without Windows??

 Please help!!!

Apr 02 2002
↑ ↓ Philippe Signoret <Sigma.Tech gmx.net> writes:
Is there any way I can get an older version that can run on DOS?
Philippe

Jan Knepper wrote:

 The latest version does not work on DOS, it requires a Win32 platform.
 Jan

 Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my old
 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit Windows
 NT program.

 Is there some special thing I should do to get it to work, or does it
 not work in DOS without Windows??

 Please help!!!


Apr 02 2002
Jan Knepper <jan smartsoft.cc> writes:
That's not up to me...
May be Walter could still generate a DOSX/DOS version?!
Jan



Philippe Signoret wrote:

 Is there any way I can get an older version that can run on DOS?
 Philippe

 Jan Knepper wrote:

 The latest version does not work on DOS, it requires a Win32 platform.
 Jan

 Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my old
 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit Windows
 NT program.

 Is there some special thing I should do to get it to work, or does it
 not work in DOS without Windows??

 Please help!!!



Apr 02 2002
↑ ↓ Philippe Signoret <Sigma.Tech gmx.net> writes:
    That would be greatly appreciated. Who is Walter and how can I contact him?
What is DOSX? As you can see, I'm new at this.

    Just in case he can't does anyone know of any other free downloadable C
and/or
C++ compilers that can run in DOS??

Philippe

Jan Knepper wrote:

 That's not up to me...
 May be Walter could still generate a DOSX/DOS version?!
 Jan

 Philippe Signoret wrote:

 Is there any way I can get an older version that can run on DOS?
 Philippe

 Jan Knepper wrote:

 The latest version does not work on DOS, it requires a Win32 platform.
 Jan

 Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my old
 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit Windows
 NT program.

 Is there some special thing I should do to get it to work, or does it
 not work in DOS without Windows??

 Please help!!!




Apr 02 2002
→ Chris Widdows <chris widdows.demon.nl> writes:
On Tue, 02 Apr 2002 21:35:01 -0600, Philippe Signoret
<Sigma.Tech gmx.net> wrote:

    That would be greatly appreciated. Who is Walter and how can I contact him?
What is DOSX? As you can see, I'm new at this.

    Just in case he can't does anyone know of any other free downloadable C
and/or
C++ compilers that can run in DOS??

AFAIK Borland give an older Turbo C version away for free, there are others. Take a look at http://www.thefreecountry.com/developercity/ccompilers.shtml But last time I looked, C++ for DOS wasn't on except for DJGPP (which isn't strictly 16-bit). Restricting yourself to plain C will yield better results. You need a 80386 or better to run DJGPP, a few C compiler will do 'pure' dos though. Either that or to hunt for an older compiler (AFAIK Zortech, Borland and Watcom all had a C++ compiler running on DOS at sometime. I've used both Zortech (I think version 2) and Borland (was it version 3.x?) under DOS and the Zortech one had a thing called VCM which was very good (and allowed you write pretty large progs considering the limitations of the platform). As usual Borland had good C++ language implementation, but poor code generation (I found three ways of compiling, each producing different code using the exact same switches, brrrrrrr). If you are just starting out the Borland might appeal more, if you want the resulting apps to work well I would suggest Zortech (but I must admit, I'm biased). Hope that helps, Chris
Philippe

Jan Knepper wrote:

 That's not up to me...
 May be Walter could still generate a DOSX/DOS version?!
 Jan

 Philippe Signoret wrote:

 Is there any way I can get an older version that can run on DOS?
 Philippe

 Jan Knepper wrote:

 The latest version does not work on DOS, it requires a Win32 platform.
 Jan

 Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my old
 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit Windows
 NT program.

 Is there some special thing I should do to get it to work, or does it
 not work in DOS without Windows??

 Please help!!!





Apr 03 2002
→ "Javier Gutiérrez" <nikkho nospam.hotmail.com> writes:
    You have available Turbo C++ 1.01 (http://community.borland.com), and in
a short, OpenWatcom (http://www.openwatco.org)

"Philippe Signoret" <Sigma.Tech gmx.net> escribió en el mensaje
news:3CAA7865.50688C05 gmx.net...
     That would be greatly appreciated. Who is Walter and how can I contact

 What is DOSX? As you can see, I'm new at this.

     Just in case he can't does anyone know of any other free downloadable

 C++ compilers that can run in DOS??

 Philippe

 Jan Knepper wrote:

 That's not up to me...
 May be Walter could still generate a DOSX/DOS version?!
 Jan

 Philippe Signoret wrote:

 Is there any way I can get an older version that can run on DOS?
 Philippe

 Jan Knepper wrote:

 The latest version does not work on DOS, it requires a Win32




 Jan

 Philippe Signoret wrote:

 Greetings,

 I just downloaded DM C/C++ compiler, so that I could put it on my





 laptop (with IBM DOS 5.00 -no Windows).

 I got the files onto the laptop,
 but it says messages like "Requires Win32" and "This is a 32 bit





 NT program.

 Is there some special thing I should do to get it to work, or does





 not work in DOS without Windows??

 Please help!!!





Apr 07 2002
→ "Walter" <walter digitalmars.com> writes:
"Philippe Signoret" <Sigma.Tech gmx.net> wrote in message
news:3CAA6C1E.FE3563E9 gmx.net...
 Is there any way I can get an older version that can run on DOS?

Sorry. While the compiler can target DOS and generate executables for DOS, it cannot run under DOS. The reason is because it needs too much memory for DOS, etc.
Apr 02 2002