Mail Archives: djgpp/1996/04/02/02:02:22
Reply to message 3526915 from KENMCMILL AT CQM on 03/31/96 10:55PM
>I have just downloaded and unzipped V2 to my computer,
>but I cant get it to do anything.
>When I try gcc -v -o ex1_2.exe ex1_2.C I get this response:
Here's your problem:
[from gcc -v]
>cpp.exe: d:/programming/djgppv2/tmp\ccbaaaaa: No such file or
>directory (ENOENT)
[from djgpp.env]
>+TMPDIR=%DJDIR%/tmp
You need to set a TMPDIR environment variable to tell DJGPP where
to place its temporary files. If you don't, it will default to a subdirectory
of your djgpp directory called 'tmp', which obviously doesn't exist on
your system.
Add this line to your AUTOEXEC.BAT:
TMPDIR=%TEMP%
This will set TMPDIR to whatever your current temporary directory is,
as defined by the TEMP environment variable. Since this directory,
hopefully, exists, DJGPP will be able to store its files there. :)
John.
- Raw text -