From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10210262054.AA01678@clio.rice.edu> Subject: Re: GCC 3.2 building with 2.04 trouble on W2K (NTVDM crash) To: djgpp-workers AT delorie DOT com Date: Sat, 26 Oct 2002 15:54:01 -0500 (CDT) In-Reply-To: <139735779174.20021026193923@softhome.net> from "Laurynas Biveinis" at Oct 26, 2002 07:39:23 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > I've added printf dump to _open() and it gets triggered all over the > place like this: > --- > _open() failed: > filename = c:/devel/djgpp/tmp/fxincaaa > oflag = 0 > DOS error code = 2 I'm not sure why it's trying to open a non-existent file; finding out where would be useful information. > (Well, I wish printf() debugging had a stack backtrace...) Get the source for src/libc/go32/dpmiexcp.c and put show_call_frame in your own wrapper. (I'm sure this had been done before, but I don't see a way to do it in the current source). > respf = fopen (tmpnam (atfile), "wb"); > ...> return emiterror ("Cannot open script file for $SHELL", errno); > Now that fopen(...) call fails _open() like this: > --- > _open() failed: > filename = c:/devel/djgpp/tmp/dj410000 > oflag = 901 > DOS error code = 5 Are there any files left in this directory? Does cleaning it out help? What service pack are you running?