| delorie.com/archives/browse.cgi | search | 
| From: | "DeHackEd" <notgiven AT out DOT com> | 
| Newsgroups: | comp.os.msdos.djgpp | 
| References: | <004801be65b5$e16485e0$ce42b08e AT pc14 DOT prdc DOT nsis DOT com> | 
| Subject: | Re: C++ compiler | 
| Lines: | 91 | 
| X-Priority: | 3 | 
| X-MSMail-Priority: | Normal | 
| X-Newsreader: | Microsoft Outlook Express 5.00.0810.800 | 
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.0810.800 | 
| Message-ID: | <5siD2.2681$G26.231@tundra.ops.attcanada.net> | 
| Date: | Wed, 03 Mar 1999 22:11:13 GMT | 
| NNTP-Posting-Host: | 142.194.222.134 | 
| X-Trace: | tundra.ops.attcanada.net 920499073 142.194.222.134 (Wed, 03 Mar 1999 22:11:13 GMT) | 
| NNTP-Posting-Date: | Wed, 03 Mar 1999 22:11:13 GMT | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
| Reply-To: | djgpp AT delorie DOT com | 
Only question: did you reboot after you modified autoexec.bat? The chabges are
all perfect, but they don't take effect until autoexec is run, which is done
when resetting. Other than that, I see no errors at all.
--
"DeHackEd"
My Email address in the header is fake (spammers). Email me at this address:
http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked
----- Original message
Rod Ehler <rehler AT nsis DOT com> wrote in message
news:004801be65b5$e16485e0$ce42b08e AT pc14 DOT prdc DOT nsis DOT com...
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.
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=y in the environment to get verbose output.
DPMI memory available: 21656 Kb
DPMI swap space available: 7808 Kb
 AUTOEXEC.BAT FILE
set path=c:\windows\command
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
c:\windows\smartdrv /q
LH c:\windows\command\mscdex /D:IDECD000 /L:M
LH c:\mouse\cloaking
c:\mouse\mouse ps2
SET PROMPT=$p$g
SET TEMP=C:\windows\TEMP
SET TMP=C:\windows\TEMP
SET BLASTER=A220 I5 D1 T2
REM Set the Audio card
C:\WINDOWS\CWBINIT.EXE /A
REM LTTSR.EXE sets up the modem for com2.
c:\modem\lttsr.exe /I4
CONFIG.SYS FILE
REM Configure the PNP devices
device=c:\icu\dwcfgmg.sys
DOS=HIGH,UMB
buffershigh=10
fcbshigh=4
fileshigh=30
lastdrivehigh=Z
stackshigh=9,256
Device=C:\WINDOWS\Himem.Sys /testmem:off
rem The following line will get you more ram, but no EMS
rem Device=C:\WINDOWS\Emm386.exe RAM NOEMS
Device=C:\WINDOWS\Emm386.exe RAM
DEVICEHIGH=c:\cdrom\tatungcd.sys /D:IDECD000
SAMPLE PROGRAM
#include <iostream.h>
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
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |