www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/06:31:19

From: "Jeremy Carey" <jcthaman AT toughguy DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <000601be65f4$1b69d9a0$be275da6 AT siegfried>
Subject: Re: C++ compiler
Date: Thu, 4 Mar 1999 06:23:42 -0500
Lines: 287
MIME-Version: 1.0
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: milton.psghs.edu
Message-ID: <36de981e.0@207.227.203.4>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_001E_01BE6607.8D026060
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey, I had this same problem for a while.  If you just used the djgpp =
zip file picker, it doesn't come with djdevxxx.zip, which you need to =
have, because it has the original djgpp.env file in and no other ones =
will work.  Hope this helps!
                                                      Jeremy
    John L Meyer wrote in message =
<000601be65f4$1b69d9a0$be275da6 AT siegfried>...
    put your PATH and DJGPP variables as the higest items in your =
autoexec.bat file.
   =20
    John Meyer
    USC Today Life & Leisure Editor
    e-mail: john_meyer AT geocities DOT com
    Of course, I have no evidence for this, but when has that stopped me =
before?
        ----- Original Message -----=20
        From: Rod Ehler=20
        To: djgpp AT delorie DOT com=20
        Sent: Wednesday, March 03, 1999 1:39 PM
        Subject: C++ compiler
       =20
       =20
        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
       =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
       =20


------=_NextPart_000_001E_01BE6607.8D026060
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><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
<STYLE></STYLE>

</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hey, I had this same problem for a =
while.&nbsp;=20
If you just used the djgpp zip file picker, it doesn't come with =
djdevxxx.zip,=20
which you need to have, because it has the original djgpp.env file in =
and no=20
other ones will work.&nbsp; Hope this helps!</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Jeremy</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV>John L Meyer<JOHN_MEYER AT GEOCITIES DOT COM> wrote in message=20
    &lt;000601be65f4$1b69d9a0$be275da6 AT siegfried&gt;...</DIV>
    <DIV><FONT face=3DArial>put your PATH and DJGPP variables as the =
higest items=20
    in your autoexec.bat file.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>John Meyer<BR>USC Today Life &amp; Leisure Editor<BR>e-mail: <A =

    =
href=3D"mailto:john_meyer AT geocities DOT com">john_meyer AT geocities DOT com</A><BR>=
Of=20
    course, I have no evidence for this, but when has that stopped me=20
    before?</DIV>
    <BLOCKQUOTE=20
    style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
        <DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
        <DIV style=3D"BACKGROUND: #e4e4e4; font-color: =
black"><B>From:</B> <A=20
        href=3D"mailto:rehler AT nsis DOT com" title=3Drehler AT nsis DOT com>Rod =
Ehler</A> </DIV>
        <DIV><B>To:</B> <A href=3D"mailto:djgpp AT delorie DOT com"=20
        title=3Ddjgpp AT delorie DOT com>djgpp AT delorie DOT com</A> </DIV>
        <DIV><B>Sent:</B> Wednesday, March 03, 1999 1:39 PM</DIV>
        <DIV><B>Subject:</B> C++ compiler</DIV></DIV>
        <DIV><BR></DIV>
        <DIV>
        <DIV><FONT size=3D2>Being a novice in programming and attempting =
to learn=20
        to program in C++ I have downloaded the files needed to compile =
the=20
        program by using the DJGPP zip-picker.&nbsp; However I keep =
getting the=20
        same error message everytime I run the sample =
program:</FONT></DIV>
        <DIV><FONT=20
        =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        Error in DJGPP=20
        =
instalation<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
        Environment variable DJGPP is not defined</FONT></DIV>
        <DIV><FONT size=3D2>Would appreciate any suggestions or=20
        advice.</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV>&nbsp;</DIV>
        <DIV><FONT color=3D#000000=20
        size=3D2>C:\djgpp\bin&gt;<STRONG>go32-v2<BR></STRONG>go32/v2 =
version 2.0=20
        built Nov 15 1998 14:36:43<BR>Usage: go32 coff-image =
[args]<BR>Rename=20
        this to go32.exe only if you need a go32 that can run v2 =
binaries=20
        as<BR>&nbsp;well as v1 binaries (old makefiles).&nbsp; Put ahead =
of the=20
        old go32 in your PATH<BR>&nbsp;but do not delete your old go32 - =
leave=20
        it in the PATH after this one.<BR>Set GO32_V2_DEBUG=3Dy in the =
environment=20
        to get verbose output.</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2>DPMI memory available: 21656 =
Kb<BR>DPMI=20
        swap space available: 7808 Kb</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV>&nbsp;<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=20
        PATH=3DC:\DJGPP\BIN;%PATH%<BR>set=20
        DJGPP=3DC:\DJGPP\DJGPP.ENV<BR>c:\windows\smartdrv =
/q</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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=20
        D1 T2</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2>REM Set the Audio=20
        card<BR>C:\WINDOWS\CWBINIT.EXE /A</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2><STRONG>CONFIG.SYS=20
        FILE</STRONG></FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 =
size=3D2>REM=20
        Configure the PNP =
devices<BR>device=3Dc:\icu\dwcfgmg.sys</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2>rem The following line will =
get you more=20
        ram, but no EMS<BR>rem Device=3DC:\WINDOWS\Emm386.exe RAM=20
        NOEMS<BR>Device=3DC:\WINDOWS\Emm386.exe=20
        RAM<BR>DEVICEHIGH=3Dc:\cdrom\tatungcd.sys =
/D:IDECD000</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2><STRONG>SAMPLE=20
        PROGRAM</STRONG></FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2>#include =
&lt;iostream.h&gt;</FONT></DIV>
        <DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#000000 size=3D2>void main()<BR>{<BR>&nbsp; =
cout&nbsp;=20
        &lt;&lt; &quot;Hello World!\n&quot;;<BR>}</FONT></DIV>
        <DIV><FONT color=3D#000000 =
size=3D2>-[_]--------------------------- Message=20
        Window -------------------<BR>&nbsp;Compiling: =
hello.cc<BR>&nbsp; Error=20
        in DJGPP instalation<BR>&nbsp; Environment variable DJGPP is not =

        defined<BR>&nbsp;There were some=20
    =
errors<BR><BR></FONT></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>=


------=_NextPart_000_001E_01BE6607.8D026060--

- Raw text -


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