X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Subject: Re: collect2.exe cannot create temporary file in c:/djgpp/tmp/ To: djgpp AT delorie DOT com References: From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" Message-ID: Date: Sun, 12 May 2019 23:21:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US-large Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 5/12/19 5:27 PM, Andrew Greenwood (silverblade_uk AT hotmail DOT com) [via djgpp AT delorie DOT com] wrote: > I downloaded the current packages for DJGPP last night and have been trying to compile and link a > simple "hello world" program on various emulators/VMs, but I am repeatedly hitting the same problem. > > If I run: > gcc hello.c -o hello.exe > > I get the following error, reported by collect2.exe: > "Cannot create temporary file in c:/djgpp/tmp/: No such file or directory (ENOENT)" Confirmed. Perhaps the build only works when LFN=Y (it worked for me in Windows Vista Business 32 bit) make_temp_file() (https://github.com/gcc-mirror/gcc/blob/gcc-9-branch/libiberty/make-temp-file.c) does not seem to work as the error message is from it. Andris