Mail Archives: djgpp/1996/08/01/00:36:13
On 31 Jul 1996, Maan M. Hamze wrote:
> OPTIONS. Even then it would not link. Anyway, I resolved this issue by
> cutting everything that had the paths in the env file, and then I included
> them all in SET statements in autoexec.bat.
Although this should work too, this is NOT a recommended solution. The
way you did it makes your environment much larger by filling it with
variables only required by DJGPP programs. The file DJGPP.ENV exists
precisely to alleviate such problems, i.e. it lets DJGPP programs think
that all those variables are in the environment whereas the real
environment is not polluted with them. Therefore, I suggest you put in
some additional effort to make DJGPP.ENV work. The problems like the one
you encountered happens to some people, but are usually easily solved.
The symptoms of your original problem which you described indicate that
the DJGPP variable was not set correctly. To verify whether this is
indeed your problem, type SET from the DOS prompt and hit [Enter]. Then
look for the line that begins with "DJGPP=". Make sure that there is not
blanks or other characters between "DJGPP" and the equals sign "=". If
this variable is defined OK, remove all those additional SET commands you
have added to solve your problem, restore the original DJGPP.ENV from
djdev200.zip and see if DJGPP works. If it doesn't, post the full
contents of your CONFIG.SYS and AUTOEXEC.BAT here, and you will get more
help.
Be advised that large environments might get you into trouble with some
programs (usually, not the DJGPP ones). So I suggest you to find the
reason of why DJGPP.ENV won't work and resolve it instead of setting a
large number of variables in the environment.
Btw, what is disk E:? Is it a local disk or a networked one?
- Raw text -