delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/27/11:13:53

To: dj AT ctron DOT com, DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU
From: A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk
Date: 27 Aug 93 16:07:12 GMT
Subject: Gnu C under DOS 6

  Today I upgraded my PC (a Tandon 386SX/20 SL II) from DOS 4.01 to DOS 6. I
found that to get Gnu C programs to run I had to alter CONFIG.SYS and
AUTOEXEC.BAT thus:-

  C:\CONFIG.SYS :-

DEVICE=C:\DOS\SETVER.EXE
BREAK=ON
BUFFERS=20
FILES=20
SHELL=C:\DOS\COMMAND.COM C:\DOS\ /E:1024 /p
DEVICE=C:\DOS\ANSI.SYS
device=c:\isolink\rmmpsat.sys
rem DEVICE=C:\DOS\HIMEM.SYS                /* disable by prefixing 'rem'
rem DOS=HIGH                               /* disable by prefixing 'rem'

  C:\AUTOEXEC.BAT :-

rem C:\DOS\SMARTDRV.EXE                /* disable by prefixing 'rem'
ECHO OFF
REM SET COMSPEC=c:\DOS\COMMAND.COM
VERIFY OFF
PATH C:\DOS;c:\;C:\KERMIT;C:\GCC\BIN;C:\WATFOR;C:\WP51\;
rem APPEND /E
rem APPEND \DOS
PROMPT $P$G
C:\DOS\GRAPHICS
VER
C:\DOS\KEYB UK,437,C:\DOS\KEYBOARD.SYS
rem PRINT /D:LPT1
rem C:\DOS\MOUSE                /* disable by prefixing 'rem'
C:\MOUSE\MOUSE                  /* insert this line from my old AUTOEXEC.BAT
SET EMACS=C:\AM
SET AAEMACS=C:\AM
SET AAAEMACS=A:\AM
set COMPILER_PATH=c:/gcc/bin
set C_INCLUDE_PATH=c:/gcc/include
..... etc etc as required for Gnu C

  With the line C:\DOS\MOUSE present, small Gnu C programs ran but big Gnu C
programs made the PC jam so tight that not even ctrl-alt-del worked. So I had
to 'rem' this line out and thus not use DOS 6's new mouse handler and instead
use the old mouse handler that came with the mouse (which is a Microsoft
serial mouse with two buttons).
  With DOS 6 (and perforce the old mouse handler) I still find that, if I use
the mouse, the first call of GO32 A.OUT afterwards drops through without
entering the program in A.OUT; but the next call of GO32 A.OUT works.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019