Mail Archives: djgpp/1999/03/03/15:43:19
Message-ID: | <004801be65b5$e16485e0$ce42b08e@pc14.prdc.nsis.com>
|
From: | "Rod Ehler" <rehler AT nsis DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | C++ compiler
|
Date: | Wed, 3 Mar 1999 16:39:04 -0400
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.5
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0045_01BE6594.599A4440
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Being a novice in programming and attempting to learn to program in C++ =
I have downloaded the files needed to compile the program by using the =
DJGPP zip-picker. However I keep getting the same error message =
everytime I run the sample program:
=
Error in DJGPP instalation
=
Environment variable DJGPP is not defined
Would appreciate any suggestions or advice.
=20
C:\djgpp\bin>go32-v2
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.
=20
DPMI memory available: 21656 Kb
DPMI swap space available: 7808 Kb
=20
AUTOEXEC.BAT FILE
set path=3Dc:\windows\command
set PATH=3DC:\DJGPP\BIN;%PATH%
set DJGPP=3DC:\DJGPP\DJGPP.ENV
c:\windows\smartdrv /q
=20
LH c:\windows\command\mscdex /D:IDECD000 /L:M
=20
LH c:\mouse\cloaking
c:\mouse\mouse ps2
=20
SET PROMPT=3D$p$g
SET TEMP=3DC:\windows\TEMP
SET TMP=3DC:\windows\TEMP
SET BLASTER=3DA220 I5 D1 T2
=20
REM Set the Audio card
C:\WINDOWS\CWBINIT.EXE /A
=20
REM LTTSR.EXE sets up the modem for com2.
c:\modem\lttsr.exe /I4
=20
CONFIG.SYS FILE
REM Configure the PNP devices
device=3Dc:\icu\dwcfgmg.sys
=20
DOS=3DHIGH,UMB
buffershigh=3D10
fcbshigh=3D4
fileshigh=3D30
lastdrivehigh=3DZ
stackshigh=3D9,256
Device=3DC:\WINDOWS\Himem.Sys /testmem:off
=20
rem The following line will get you more ram, but no EMS
rem Device=3DC:\WINDOWS\Emm386.exe RAM NOEMS
Device=3DC:\WINDOWS\Emm386.exe RAM
DEVICEHIGH=3Dc:\cdrom\tatungcd.sys /D:IDECD000
=20
SAMPLE PROGRAM
#include <iostream.h>
=20
void main()
{
cout << "Hello World!\n";
}
-[_]--------------------------- Message Window -------------------
Compiling: hello.cc
Error in DJGPP instalation
Environment variable DJGPP is not defined
There were some errors
------=_NextPart_000_0045_01BE6594.599A4440
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT size=3D2>Being a novice in programming and attempting to =
learn to=20
program in C++ I have downloaded the files needed to compile the program =
by=20
using the DJGPP zip-picker. However I keep getting the same error =
message=20
everytime I run the sample program:</FONT></DIV>
<DIV><FONT=20
size=3D2> &nbs=
p;  =
; =
&=
nbsp; &n=
bsp; =20
Error in DJGPP=20
instalation<BR> &nbs=
p;  =
; =
&=
nbsp; &n=
bsp; =20
Environment variable DJGPP is not defined</FONT></DIV>
<DIV><FONT size=3D2>Would appreciate any suggestions or =
advice.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT color=3D#000000=20
size=3D2>C:\djgpp\bin><STRONG>go32-v2<BR></STRONG>go32/v2 version 2.0 =
built Nov=20
15 1998 14:36:43<BR>Usage: go32 coff-image [args]<BR>Rename this to =
go32.exe=20
only if you need a go32 that can run v2 binaries as<BR> well as v1 =
binaries=20
(old makefiles). Put ahead of the old go32 in your =
PATH<BR> but do=20
not delete your old go32 - leave it in the PATH after this one.<BR>Set=20
GO32_V2_DEBUG=3Dy in the environment to get verbose output.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>DPMI memory available: 21656 =
Kb<BR>DPMI swap=20
space available: 7808 Kb</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV> <FONT color=3D#000000 size=3D2><STRONG>AUTOEXEC.BAT=20
FILE</FONT></STRONG></DIV>
<DIV><FONT color=3D#000000 size=3D2>set path=3Dc:\windows\command<BR>set =
PATH=3DC:\DJGPP\BIN;%PATH%<BR>set =
DJGPP=3DC:\DJGPP\DJGPP.ENV<BR>c:\windows\smartdrv=20
/q</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>LH c:\windows\command\mscdex =
/D:IDECD000=20
/L:M</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>LH =
c:\mouse\cloaking<BR>c:\mouse\mouse=20
ps2</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>SET PROMPT=3D$p$g<BR>SET=20
TEMP=3DC:\windows\TEMP<BR>SET TMP=3DC:\windows\TEMP<BR>SET =
BLASTER=3DA220 I5 D1=20
T2</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>REM Set the Audio =
card<BR>C:\WINDOWS\CWBINIT.EXE=20
/A</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>REM LTTSR.EXE sets up the modem for=20
com2.<BR>c:\modem\lttsr.exe /I4<BR></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2><STRONG>CONFIG.SYS =
FILE</STRONG></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 =
size=3D2>REM Configure=20
the PNP devices<BR>device=3Dc:\icu\dwcfgmg.sys</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000=20
size=3D2>DOS=3DHIGH,UMB<BR>buffershigh=3D10<BR>fcbshigh=3D4<BR>fileshigh=3D=
30<BR>lastdrivehigh=3DZ<BR>stackshigh=3D9,256<BR>Device=3DC:\WINDOWS\Hime=
m.Sys=20
/testmem:off</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>rem The following line will get you =
more ram,=20
but no EMS<BR>rem Device=3DC:\WINDOWS\Emm386.exe RAM=20
NOEMS<BR>Device=3DC:\WINDOWS\Emm386.exe =
RAM<BR>DEVICEHIGH=3Dc:\cdrom\tatungcd.sys=20
/D:IDECD000</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2><STRONG>SAMPLE =
PROGRAM</STRONG></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>#include =
<iostream.h></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>void main()<BR>{<BR> =
cout <<=20
"Hello World!\n";<BR>}</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>-[_]--------------------------- =
Message Window=20
-------------------<BR> Compiling: hello.cc<BR> Error in =
DJGPP=20
instalation<BR> Environment variable DJGPP is not =
defined<BR> There=20
were some errors<BR><BR></FONT></DIV></DIV></BODY></HTML>
------=_NextPart_000_0045_01BE6594.599A4440--
- Raw text -