Message-ID: <000201becca9$8793c3e0$1299b382@v9f4q2> From: "Gilles Lamoureux" To: Subject: DJGPP in C/basics Date: Sun, 11 Jul 1999 17:12:39 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01BECBC0.941ADB60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0005_01BECBC0.941ADB60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi - I know almost nothing about configuring my system to get DJGPP = compiler to execute programs. Am in the midst of tutorial. DJGPP was = recommended. Although I cannot seem to get sample programs compiled and = running. Here's all I have configured to date. I have been trying to = execute sample tutorial programs at DOS prompt window in WINDOWS 98. = thanks. Gilles Lamoureux autoexec.bat C:\>rem ndisban C:\>rem redirall C:\>rem - By Windows 98 Network - C:\WINDOWS\net start C:\>rem arswait C:\>rem z:login C:\>rem TShoot: @ECHO OFF C:\> C:\> C:\> C:\>SET BLASTER=3DA220 I5 D1 H1 P330 T6 C:\> C:\>REM Environment Settings For McAfee VirusScan C:\>Rem TShoot: SET = PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAF EE~1\DJGPP\BIN;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\BIN;C:\PROGRA~1\NETWOR= ~1\MCAF EE~1 C:\>SET = PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\= B IN;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\BIN;C:\PROGRA~1\NETWOR~1\MCAFEE~1\= DJGPP\B IN Out of environment space C:\>Rem TShoot: C:\>set DJGPP=3DC:\DJGPP\DJGPP.ENV C:\>Rem TShoot: C:\>SET TMPDIR=3DC:\TEMPDIR C:\>Rem TShoot: C:\>SET EMU387=3DC:\DJGPP\BIN\EMU387.dxe C:\>Rem TShoot: C:\>SET 387=3Dn C:\> C:\> C:\> environment.1st go32/v2 version 2.0 built Nov 15 1998 14:36:43 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries = as well as v1 binaries (old makefiles). Put ahead of the old go32 in your = PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=3Dy in the environment to get verbose output. DPMI memory available: 37775 Kb DPMI swap space available: 24497 Kb config.sys DEVICEHIGH=3DC:\PROGRA~1\NORTON~1\BIOSFIXSYS+R+T DEVICE=3DC:\CDROM\AOATAPI.SYS/D:IDECD000 DEVICE=3DC:\WINDOWS\setver.exe ------=_NextPart_000_0005_01BECBC0.941ADB60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi - I know almost nothing about configuring my = system to get=20 DJGPP compiler to execute programs.  Am in the midst of = tutorial. =20 DJGPP was recommended.  Although I cannot seem to get sample = programs=20 compiled and running.  Here's all I have configured to date.  = I have=20 been trying to execute sample tutorial programs at DOS prompt window in = WINDOWS=20 98.  thanks.  Gilles Lamoureux
autoexec.bat
C:\>rem = ndisban
 
C:\>rem redirall
 
C:\>rem - By Windows 98 Network - C:\WINDOWS\net=20 start
 
C:\>rem arswait
 
C:\>rem z:login
 
C:\>rem TShoot: @ECHO OFF
 
C:\>
C:\>
C:\>
C:\>SET = BLASTER=3DA220 I5 D1=20 H1 P330 T6
 
C:\>
C:\>REM Environment Settings For = McAfee=20 VirusScan
 
C:\>Rem TShoot: SET=20 PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAF
EE~1\DJ= GPP\BIN;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\BIN;C:\PROGRA~1\NETWOR~1\MCAF=
EE~1
 
C:\>SET=20 PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\= B
IN;C:\PROGRA~1\NETWOR~1\MCAFEE~1\DJGPP\BIN;C:\PROGRA~1\NETWOR~1\MCAF= EE~1\DJGPP\B
IN
Out=20 of environment space
 
C:\>Rem TShoot:
 
C:\>set  = DJGPP=3DC:\DJGPP\DJGPP.ENV
 
C:\>Rem TShoot:
 
C:\>SET TMPDIR=3DC:\TEMPDIR
 
C:\>Rem TShoot:
 
C:\>SET = EMU387=3DC:\DJGPP\BIN\EMU387.dxe
 
C:\>Rem TShoot:
 
C:\>SET 387=3Dn
 
C:\>
C:\>
 
C:\>
environment.1st
go32/v2 version 2.0 built Nov 15 1998 = 14:36:43
Usage: go32=20 coff-image [args]
Rename this to go32.exe only if you need a go32 = that can=20 run v2 binaries as
 well as v1 binaries (old makefiles).  = Put ahead=20 of the old go32 in your PATH
 but do not delete your old go32 - = leave it=20 in the PATH after this one.
Set GO32_V2_DEBUG=3Dy in the environment = to get=20 verbose output.
 
DPMI memory available: 37775 Kb
DPMI swap space = available:=20 24497 Kb
config.sys
DEVICEHIGH=3DC:\PROGRA~1\NORTON~1\BIOSFIXSYS+R+T
DEVICE=3DC:\= CDROM\AOATAPI.SYS/D:IDECD000
DEVICE=3DC:\WINDOWS\setver.exe ------=_NextPart_000_0005_01BECBC0.941ADB60--