Mail Archives: djgpp/1998/07/03/18:00:45
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 -