Date: Sun, 28 Feb 1999 14:34:56 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Nehru Juman cc: djgpp AT delorie DOT com Subject: Re: Problem building c++ programs In-Reply-To: <36D6AC81.91399226@solutions2000.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.)