Mail Archives: djgpp/2002/07/21/18:39:35
Message-ID: | <000e01c23107$788af560$ea04590c@pavilion>
|
From: | "Michael Book" <mjbook AT worldnet DOT att DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Problem installing DJGPP package
|
Date: | Sun, 21 Jul 2002 18:39:25 -0400
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C230E5.F052D6C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi. I've been looking for a C compiler to get more familiar with the =
language and to practice writing programs with. The one from GNU was =
referred to over and over again, but there was a Catch-22-type situation =
there, in that you already had to have a C compiler to compile it, or =
(with=20
the compiled Cygwin versions), you had to have a way of decompressing =
.tar
or .gz files but you couldn't use Winzip or even the decompression =
programs
they supplied. Based on this I figured I wouldn't be using gcc very =
soon.
Last Sunday, after searching for C resources online, I found the =
cprogramming.com site, where sitting innocuously in the list of =
recommended
compilers was DJGPP. I followed the link and was elated to find that =
everything was available in .zip files.
I followed all the steps in the Zip File Picker Results (I'm using =
Windows
98, Version 2) and the download and unzipping were a piece of cake. =
However, when I added the two necessary lines to my Autoexec.bat file =
and restarted my computer, it crashed. Windows didn't load (there was a =
message that it couldn'y find WIN.COM), and I was left with a pre-DOS =
prompt. I went through the contents of the C: directory and the WINDOWS =
directory until I found something that gave a MS-DOS prompt, and then I =
used the editor to take out the new lines and things were back to =
normal.
The method of creating the djgpp.bat file with the recommended lines =
doesn't work either. When I try to start gcc from either C:\DJGPP\BIN =
in DOS or with the icon that was extracted into the bin folder (which =
uses gcc.exe) I get the error message "environment variable DJGPP not =
defined".
I've tried the help files in my version of MS-DOS, and I went through a =
couple of pages of the mail archives after searching for "installation
windows", but with no luck. I'd appreciate any help you could give me =
with this. Thanks.
Sincerely,
Michael Book
------=_NextPart_000_000B_01C230E5.F052D6C0
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 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New">Hi. I've been looking for a C =
compiler to=20
get more familiar with the language and to practice writing programs =
with. =20
The one from GNU was referred to over and over again, but there was a=20
Catch-22-type situation there, in that you already had to have a C =
compiler to=20
compile it, or (with </FONT></DIV>
<DIV><FONT face=3D"Courier New">the compiled Cygwin versions), you had =
to have a=20
way of decompressing .tar</FONT></DIV>
<DIV><FONT face=3D"Courier New">or .gz files but you couldn't use Winzip =
or even=20
the decompression programs</FONT></DIV>
<DIV><FONT face=3D"Courier New">they supplied. Based on this I =
figured I=20
wouldn't be using gcc very soon.</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">Last Sunday, after searching for C =
resources=20
online, I found the cprogramming.com site, where sitting innocuously in =
the list=20
of recommended</FONT></DIV>
<DIV><FONT face=3D"Courier New">compilers was DJGPP. I followed =
the link and=20
was elated to find that everything was available in .zip =
files.</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">I followed all the steps in the Zip File =
Picker=20
Results (I'm using Windows</FONT></DIV>
<DIV><FONT face=3D"Courier New">98, Version 2) and the download and =
unzipping were=20
a piece of cake. However, when I added the two necessary lines to my=20
Autoexec.bat file and restarted my computer, it crashed. Windows =
didn't=20
load (there was a message that it couldn'y find WIN.COM), and I was left =
with a=20
pre-DOS prompt. I went through the contents of the C: directory=20
and the WINDOWS directory until I found something that gave a =
MS-DOS=20
prompt, and then I used the editor to take out the new lines and things =
were=20
back to normal.</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">The method of creating the djgpp.bat =
file with the=20
recommended lines doesn't work either. When I try to start gcc =
from either=20
C:\DJGPP\BIN in DOS or with the icon that was extracted into =
the bin=20
folder (which uses gcc.exe) I get the error message "environment =
variable DJGPP=20
not defined".</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">I've tried the help files in my version =
of MS-DOS,=20
and I went through a couple of pages of the mail archives after =
searching for=20
"installation</FONT></DIV>
<DIV><FONT face=3D"Courier New">windows", but with no luck. I'd =
appreciate=20
any help you could give me with this. Thanks.</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">Sincerely,</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New">Michael Book</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV>
<DIV><FONT face=3D"Courier New"></FONT> </DIV></BODY></HTML>
------=_NextPart_000_000B_01C230E5.F052D6C0--
- Raw text -