delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/03/18:00:45

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem
Date: Fri, 03 Jul 1998 15:49:27 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 51
Message-ID: <359D35C7.EBA23D33@cs.com>
References: <359D20DF DOT 1C6A2E0C AT george DOT lhi DOT net>
NNTP-Posting-Host: ppp142.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Richard Atkins wrote:
> 
> Sorry for bothering,
>                      I'm new to Djgpp,and every time I try to compile a
> program
> I get an error that says "error in djgpp installation.Let me know if you
> can help.

Have you read the instructions in 'readme.1st'?  In order to set up
DJGPP to work on your system, you must edit your 'autoexec.bat' file and
set the DJGPP environment variable to point to the location of the file
'djgpp.env' in your DJGPP root directory.  You must also add the DJGPP
'bin' directory to your PATH.  Assuming that you installed DJGPP into
C:\DJGPP, those settings might look like this:

SET DJGPP=C:\DJGPP\DJGPP.ENV
PATH=C:\DJGPP\BIN;%PATH%

After making these changes, reboot your computer and you should be able
to compile programs.  Some other recommendations:

 - Make sure you've spelled the DJGPP variable correctly and that you
have no extra spaces in the setting.
 - Make sure no other compiler on your system comes before DJGPP in your
PATH.
 - Make sure you preserved the directory structure when you unzipped the
DJGPP files.
 - If you're running DJGPP under Windows 95, add "SET LFN=Y" to your
autoexec.bat.

The DJGPP Frequently Asked Questions list (v2/faq210b.zip or online at
http://www.delorie.com/djgpp/v2faq/) contains solutions to this and a
hundred other common questions; I recommend that you read it
thoroughly.  There is a partially complete DJGPP User's Guide available
as well at http://www.delorie.com/djgpp/doc/ug/.

You may also want to try out my DJVERIFY diagnostic utility, available
from my web site below.  It can diagnose common problems, and
automatically prepare a system report suitable for posting here on the
discussion group.

hth!


-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "To be 'matter of fact' about the    |
|       aka Fighteer I       | world is to blunder into fantasy--   |
|   mailto:fighteer AT cs DOT com   | and dull fantasy at that, as the real|
| http://www.cs.com/fighteer | world is strange and wonderful." -LL |
---------------------------------------------------------------------

- Raw text -


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