delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/21/22:15:14

From: Jack Klein <jackklein AT spamcop DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem installing DJGPP package
Message-ID: <f1qmju0sg6n6ua5s4s95idq4387vvo0tor@4ax.com>
References: <000e01c23107$788af560$ea04590c AT pavilion>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Lines: 43
Date: Mon, 22 Jul 2002 02:03:17 GMT
NNTP-Posting-Host: 12.84.19.32
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1027303397 12.84.19.32 (Mon, 22 Jul 2002 02:03:17 GMT)
NNTP-Posting-Date: Mon, 22 Jul 2002 02:03:17 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 21 Jul 2002 18:39:25 -0400, "Michael Book"
<mjbook AT worldnet DOT att DOT net> wrote in comp.os.msdos.djgpp:

> 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 
> 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

First and foremost, learn how to use your newsreader software and set
it to wrap your lines at some reasonable length, where reasonable
means 72 or less.

Secondly, you did something wrong, it is just that simple.  I have
several computers with Win98SE (and Win98, and Win95 and WinNT) with
DJGPP installed and working just fine.  So when you edited your
autoexec.bat file, you goofed.

But nobody can tell you how you goofed because you haven't shown us
the edited file you created.

-- 
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq

- Raw text -


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