www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/02/02:02:22

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199604020636.AA168496982@relay1.geis.com>
Date: Tue, 2 Apr 96 06:06:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Problem setting up DJGPP V

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 -


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