• DOS C++ compiler (hopefully modern)

    From Nightfox to All on Mon Jan 31 19:08:58 2011
    Hi all -

    Would anyone be able to recommend a fairly modern C++ compiler that can create DOS executables? I know of Borland C++ for DOS and others, but they are older ones, and I imagine they probably don't support the more modern C++ which was standardized in 1998.

    I found a version of GCC for DOS, but when I tried to compile one of my C++ source files, it said it couldn't find any of the headers I was including - and they are standard headers such as iostream, string, etc..

    Nightfox
  • From Nightfox to All on Tue Feb 1 12:24:53 2011
    Re: DOS C++ compiler (hopefully modern)
    By: Nightfox to All on Mon Jan 31 2011 19:08:58

    Would anyone be able to recommend a fairly modern C++ compiler that can crea

    I found one - Open Watcom seems to be fairly modern and can compile for DOS: http://www.openwatcom.org/index.php/Download
    I only had to tweak my code a little to get it to compile with this compiler.

    Nightfox
  • From Corey@VERT/TSGC to Nightfox on Tue Feb 1 12:46:49 2011
    Re: DOS C++ compiler (hopefully modern)
    By: Nightfox to All on Tue Feb 01 2011 12:24 pm

    Re: DOS C++ compiler (hopefully modern)
    By: Nightfox to All on Mon Jan 31 2011 19:08:58

    Would anyone be able to recommend a fairly modern C++ compiler that can c

    I found one - Open Watcom seems to be fairly modern and can compile for DOS: http://www.openwatcom.org/index.php/Download
    I only had to tweak my code a little to get it to compile with this compiler

    Nightfox


    I like that one, but it don't do sound well in XP.
    my favorite game, Shadow Warrior is written in OW but there is no sound in XP. I have to run it in dosbox to get all the sound.

    "Practise safe Lunch, Use a Condiment"


    ---
    ■ Synchronet ■ Three Stooges Gentlemens Club - Las Vegas, Nv - tsgc.dyndns.org
  • From Nightfox to Corey on Tue Feb 1 14:26:21 2011
    Re: DOS C++ compiler (hopefully modern)
    By: Corey to Nightfox on Tue Feb 01 2011 12:46:49

    I like that one, but it don't do sound well in XP.
    my favorite game, Shadow Warrior is written in OW but there is no sound in X I have to run it in dosbox to get all the sound.

    hmm.. Compiling Shadow Warrior with Watcom prevents the game from generating sounds?

    DOS games don't always work too well in Windows XP - Are you sure it's not because it's a DOS game?

    I found a version of Shadow Warrior a while ago that someone had set up to run in Windows XP that seemed to work fairly well (with sound).

    Nightfox
  • From Corey@VERT/TSGC to Nightfox on Tue Feb 1 15:44:14 2011
    Re: Watcom C++ compiler
    By: Nightfox to Corey on Tue Feb 01 2011 02:26 pm

    Re: DOS C++ compiler (hopefully modern)
    By: Corey to Nightfox on Tue Feb 01 2011 12:46:49

    I like that one, but it don't do sound well in XP.
    my favorite game, Shadow Warrior is written in OW but there is no sound i I have to run it in dosbox to get all the sound.

    hmm.. Compiling Shadow Warrior with Watcom prevents the game from generatin sounds?

    DOS games don't always work too well in Windows XP - Are you sure it's not because it's a DOS game?

    I found a version of Shadow Warrior a while ago that someone had set up to r in Windows XP that seemed to work fairly well (with sound).

    Nightfox


    well, yeah, it is a dos game. recompiled in Ow 1.3.
    only 1 soundtrack can be heard. the one with Lo Wangs comments.
    the other track, music, I think can't be heard.

    "Practise safe Lunch, Use a Condiment"


    ---
    ■ Synchronet ■ Three Stooges Gentlemens Club - Las Vegas, Nv - tsgc.dyndns.org
  • From Gene Buckle@VERT/RETROARC to Nightfox on Wed Feb 2 14:14:33 2011
    Re: DOS C++ compiler (hopefully modern)
    By: Nightfox to All on Mon Jan 31 2011 07:08 pm

    Would anyone be able to recommend a fairly modern C++ compiler that can crea DOS executables? I know of Borland C++ for DOS and others, but they are old ones, and I imagine they probably don't support the more modern C++ which wa standardized in 1998.
    I would recommend Open Watcom. It's the open source version of the Watcom C/C++ compiler.

    You can download it here:
    http://www.openwatcom.org/index.php/Main_Page

    g.

    ---
    ■ Synchronet ■ The Retro Archive - bbs.retroarchive.org
  • From Nightfox to Gene Buckle on Wed Feb 2 19:56:11 2011
    Re: DOS C++ compiler (hopefully modern)
    By: Gene Buckle to Nightfox on Wed Feb 02 2011 14:14:33

    I would recommend Open Watcom. It's the open source version of the Watcom C/C++ compiler.

    Thanks. :) I found Open Watcom, and it worked fairly well. I did have to modify my code a little in order for it to compile, but not very much.

    Eric