Message-ID: <36D6AC81.91399226@solutions2000.net> Date: Fri, 26 Feb 1999 09:15:29 -0500 From: Nehru Juman X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Problem building c++ programs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello everybody. I really appreciate DJGPP as my location (Guyana, South America) and situation has forced me to learn all of my computer programming and finite/discrete math over the internet and also to acquire compilers from this medium (incidentally, does anyone know where I can get reference materials for the Win32 API?). 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)". The problem is not with gcc itself, though, because when I rename gxx to gcc the same problem occurs. Also, this problem 'usually' only occurs when I use the -o switch with gcc. The reason I want to use gcc to compile c++ programs is that RHIDE can't use gxx and builds with the -o switch and it's a pain doing all the work manually from the c:> prompt. I guess my final approach will be to modify and recompile RHIDE.