www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/07/15:40:18

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems Installing...
Date: Sat, 07 Dec 1996 14:21:11 -0800
Organization: Three pounds of chaos and a pinch of salt
Lines: 60
Message-ID: <32A9EDD7.7D23@cs.com>
References: <01bbe449$4bd1b240$6fc3b8cd AT scully> <19961207 DOT 120006 DOT 7023 DOT 1 DOT Praxis_Beta AT juno DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: Bruce A Locke <praxis_beta AT juno DOT com>
CC: Cephaler <scully AT ix DOT netcom DOT com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bruce A Locke wrote:
> 
> Also, I think it is recommended in the readme files to install DJGPP in
> the C:\DJGPP directory.
> You may still be able to run DJGPP from the C:\ceph\prog\djgpp
> though.....

It doesn't matter what directory DJGPP is installed in as long as the
environment is set up correctly.  There was a small problem that some
people have reported under Win95 that occurs if you try putting DJGPP in
a directory whose name is longer than 8+3 characters, i.e.:

set DJGPP=c:/programming/djgpp/djgpp.env

won't work because "programming" is too long.  But that isn't the
problem in his case.

> First, open your autoexec.bat file and insert the line:
> 
> > SET DJGPP=C:\ceph\prog\djgpp\djgpp.env

Correct.  You can also use forward slashes, but it doesn't matter.

> Then, using a ASCII editor (such as MS-DOS's edit or Window's NOTEPAD),
> open the file DJGPP.ENV.
> 
> One of the first lines of the file should read something like this:
> 
> DJDIR=%:/>DJGPP%
> 
> Making sure that you don't put extra spaces in (or at the end) and not
> removing anything but the string "DJGPP",
> enter in the string "CEPH/PROG/DJGPP" between the ">" and the last "%".

This is wrong!  Do not change the DJDIR variable unless your 'djgpp.env'
is NOT in the root directory of the DJGPP installation!  The new DJGPP
Knowledge Base in v2.01 details the syntax of 'djgpp.env', and along
with the FAQ section 8.1 should tell you that the default behavior of
that line is to set DJDIR to the same directory that 'djgpp.env' is in. 
So, if your DJGPP variable says "c:/ceph/prog/djgpp/djgpp.env", DJDIR
will be evaluated to "c:/ceph/prog/djgpp/", which is the correct
setting.

Changing the settings in djgpp.env without understanding what you are
about can only lead to trouble.

> Please note that I have not tried this myself as I installed my copy of
> DJGPP in the C:\DJGPP directory.  *8-)
> 
> Hope this helps.....

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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