Mail Archives: djgpp/1996/12/07/15:40:18
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 -