delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2019/05/12/16:22:06

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: <qb9agg$o05$1 AT dont-email DOT me>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <ed6462dc-5ac3-da37-d417-b61f605ba552@iki.fi>
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: <qb9agg$o05$1@dont-email.me>
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

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




- Raw text -


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