Mail Archives: djgpp/2003/01/14/13:53:44
Message-ID: | <000a01c2bbfe$30340cc0$59330dd8@atherly>
|
From: | "v.atherly" <vatherly AT e-scape DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | djgpp compiler v.2.03
|
Date: | Tue, 14 Jan 2003 13:52:13 -0500
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.00.2615.200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C2BBD4.244ECC80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I've used the simple download (picker), to download
the above compiler. Next, created a folder "DJGPP" in drive
C, and unzipped all the files there.
Next, edited the autoexec.bat as follows:
set PATH=3DC:\DJGPP\BIN;%PATH%
set DJGPP=3DC:\DJGPP|DJGPP.ENV
Next, checked the file,"djgpp.env ", LFN is set to Y.
Next, opened the editor "edit", wrote the "Hello world! .c
program, saved it as .c ; and compiled it like so:
C:\djgpp\bin\gcc-o hello.c -o hello.exe -lm.
C:\djgpp\bin\gcc-o hello.exe hello.c.
C:\djgpp\bin\gcc-v hello.c -o hello.exe.
The compiler issued the following error:
gcc.exe environment variable djgpp not defined.
How do I resolve this error? I'm running Win ' 98 O/S.
Thank you,
V. Atherly.
------=_NextPart_000_0007_01C2BBD4.244ECC80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I've used the simple download (picker), =
to=20
download</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the above compiler. Next, created a =
folder "DJGPP"=20
in drive</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>C, and unzipped all the files =
there.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Next, edited the autoexec.bat as=20
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>set =
PATH=3DC:\DJGPP\BIN;%PATH%</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>set =
DJGPP=3DC:\DJGPP|DJGPP.ENV</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Next, checked the file,"djgpp.env ", =
LFN is set to=20
Y.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Next, opened the editor "edit", wrote =
the "Hello=20
world! .c</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>program, saved it as .c ; and compiled =
it like=20
so:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>C:\djgpp\bin\gcc-o hello.c -o hello.exe =
-lm.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>C:\djgpp\bin\gcc-o hello.exe =
hello.c.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>C:\djgpp\bin\gcc-v hello.c -o=20
hello.exe.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The compiler issued the following=20
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gcc.exe environment variable djgpp not=20
defined.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How do I resolve this error? I'm =
running Win ' 98=20
O/S.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>V. Atherly.</FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C2BBD4.244ECC80--
- Raw text -