delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/28/07:36:41

Date: Sun, 28 Feb 1999 14:34:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nehru Juman <shadowcaster AT solutions2000 DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Problem building c++ programs
In-Reply-To: <36D6AC81.91399226@solutions2000.net>
Message-ID: <Pine.SUN.3.91.990228143434.5950Z-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Fri, 26 Feb 1999, Nehru Juman wrote:

> I am currently having some difficulty with building c++ programs using
> gcc.  Any perfectly working c++ program (built fine with gxx) fails to
> build with gcc.  I keep getting the message: "Final Closure Error:  Bad
> File Descriptor (EBADF)".

This means that when the compiler closed some file, the close call
returned an error indication.  One possibility that comes to mind is
that some disk is full.  It could be the drive where the program is
produced, or the disk where the temporary files are written (a RAM
disk that's too small, maybe?).

Anyway, you will have to dig deeper into this and at least tell which
compiler pass emits this message.  (Add -v to the GCC command line to
see that.)

- Raw text -


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